summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-05 02:20:50 +0100
committerjao <jao@gnu.org>2021-05-05 02:20:50 +0100
commit4ab3e1faae2c29025e8c7ae99b930400a9e5a8c3 (patch)
treebe8c76532cd12864a639f515dce1d0ac8d5326ec /lib
parent119147eafdc798d4c9b2dfc160d9fc6972a298bd (diff)
downloadelibs-4ab3e1faae2c29025e8c7ae99b930400a9e5a8c3.tar.gz
elibs-4ab3e1faae2c29025e8c7ae99b930400a9e5a8c3.tar.bz2
minibuffer mode-line: showing docview pages
Diffstat (limited to 'lib')
-rw-r--r--lib/eos/jao-minibuffer.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 8165d0f..cb13f81 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -102,14 +102,18 @@
" %+ "
(:propertize mode-name face jao-themes-f00)
(:propertize ("" minor-mode-alist (vc-mode vc-mode)) face jao-themes-f11)
- (:propertize ("%n L%l" ,jao-minibuffer--size) face jao-themes-f12)
+ (:propertize (doc-view-doc-type
+ mode-line-position
+ ("%n L%l" ,jao-minibuffer--size))
+ face jao-themes-f12)
global-mode-string))
;;;###autoload
(defun jao-minibuffer-refresh (&rest _ignore)
(interactive)
(when jao-minibuffer-enabled-p
- (jao-minibuffer--insert (or (jao-minibuffer--aligned) ""))))
+ (let ((jao-minibuffer-enabled-p nil))
+ (jao-minibuffer--insert (or (jao-minibuffer--aligned) "")))))
;;;###autoload
(defun jao-minibuffer-add-variable (variable-name &optional order)