From: Mark Wooding Date: Thu, 20 Jul 2017 00:22:43 +0000 (+0100) Subject: el/dot-emacs.el: Restore mode lines to tag-browser windows. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/75019c667e1f02687f65f2e4b690c3d8c3df9ca6?ds=inline el/dot-emacs.el: Restore mode lines to tag-browser windows. It's hard to tell which is the selected window without the mode lines. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 4c2af20..3ea5cd5 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -3892,6 +3892,13 @@ (defun mdw-mpc-previous-line (arg) (beginning-of-line) (forward-line (- arg))) +(defun mdw-mpc-hack-tagbrowsers () + (setq-local mode-line-format + '("%e" + mode-line-frame-identification + mode-line-buffer-identification))) +(add-hook 'mpc-tagbrowser-mode-hook 'mdw-mpc-hack-tagbrowsers) + (eval-after-load "mpc" '(progn (define-key mpc-mode-map "m" 'mdw-mpc-select)