summaryrefslogtreecommitdiffhomepage
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/jao-ednc.el4
-rw-r--r--sys/jao-minibuffer.el4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/jao-ednc.el b/sys/jao-ednc.el
index 0dc8e4e..03d4049 100644
--- a/sys/jao-ednc.el
+++ b/sys/jao-ednc.el
@@ -97,14 +97,14 @@
(when new (funcall (jao-ednc--handler new) new t)))
;;;###autoload
-(defun jao-ednc-setup ()
+(defun jao-ednc-setup (minibuffer-order)
(setq jao-notify-use-messages-p t)
(with-eval-after-load "tracking"
(when jao-ednc-use-tracking
(add-to-list 'tracking-faces-priorities 'jao-ednc-tracking)
(when (listp tracking-shorten-modes)
(add-to-list 'tracking-shorten-modes 'ednc-view-mode))))
- (jao-minibuffer-add-variable '(jao-ednc--count) t)
+ (jao-minibuffer-add-variable '(jao-ednc--count) minibuffer-order)
(add-hook 'ednc-notification-presentation-functions #'jao-ednc--on-notify)
(ednc-mode))
diff --git a/sys/jao-minibuffer.el b/sys/jao-minibuffer.el
index 4d3104c..b626151 100644
--- a/sys/jao-minibuffer.el
+++ b/sys/jao-minibuffer.el
@@ -91,8 +91,8 @@
(jao-minibuffer--insert (or (jao-minibuffer--aligned) ""))))
;;;###autoload
-(defun jao-minibuffer-add-variable (variable-name &optional append)
- (add-to-list 'jao-minibuffer-info `(:eval ,variable-name) append))
+(defun jao-minibuffer-add-variable (variable-name &optional order)
+ (add-to-ordered-list 'jao-minibuffer-info `(:eval ,variable-name) order))
(defvar jao-minibuffer--notification-timer nil)