summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-21 06:43:40 +0100
committerjao <jao@gnu.org>2021-05-21 06:43:40 +0100
commite53a90a657614abdafa6828312d2891b4c89895b (patch)
tree0f6ea1fd826fedf8429bfef1ec980eaa4ecce88b /lib
parent078fdd5ff2458025916b12bdb1ff8e1dd3888747 (diff)
downloadelibs-e53a90a657614abdafa6828312d2891b4c89895b.tar.gz
elibs-e53a90a657614abdafa6828312d2891b4c89895b.tar.bz2
pdf-tools has a new maintainer
Diffstat (limited to 'lib')
-rw-r--r--lib/eos/jao-minibuffer.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index bd52b30..9c0ecd2 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -96,15 +96,16 @@
msg
(jao-minibuffer--format-msg msg)))
-(defconst jao-minibuffer--size
- '(:eval (format "/%d" (line-number-at-pos (point-max)))))
-
(defconst jao-minibuffer--circe
'(circe-chat-target (:eval (format " [%d]" (length (circe-channel-nicks))))))
(defvar-local w3m-current-title nil)
(defvar-local eww-data nil)
+(setq-default mode-line-position
+ '("%n L%l"
+ (:eval (format "/%d" (line-number-at-pos (point-max))))))
+
(defvar jao-minibuffer--mode-line-format
`("%["
(:eval (cond ((derived-mode-p 'gnus-group-mode
@@ -117,10 +118,7 @@
"%] %*%+ "
(:propertize mode-name face jao-themes-f00)
(:propertize ("" minor-mode-alist (vc-mode vc-mode)) face jao-themes-f11)
- (:propertize (doc-view-doc-type
- mode-line-position
- ("%n L%l" ,jao-minibuffer--size))
- face jao-themes-f12)
+ (:propertize mode-line-position face jao-themes-f12)
global-mode-string))
(defvar jao-minibuffer--original-modeline nil)