summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mode.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2017-05-21 10:16:09 +0000
committerAlan Mackenzie <acm@muc.de>2017-05-21 10:16:09 +0000
commitb0b02ca7f3e06d0f092df6f81babd1277bf93b0f (patch)
tree8d5d40e2150d975bd4a4a67e3190fe65b0f9ed37 /lisp/emacs-lisp/lisp-mode.el
parent9759b249e97d4b05644309fc70ae9277b347027e (diff)
downloademacs-b0b02ca7f3e06d0f092df6f81babd1277bf93b0f.tar.gz
emacs-b0b02ca7f3e06d0f092df6f81babd1277bf93b0f.tar.bz2
emacs-b0b02ca7f3e06d0f092df6f81babd1277bf93b0f.zip
Enhance mode-line percentage offset facility, with "%o" and "%q"
"%o" will display the percentage "travel" of the window through the buffer. "%q" will display a combination of the percentage offsets of the top and bottom of the window. The new user option mode-line-percent-position will facilitate selecting a setting for this part of the mode line. * lisp/bindings.el (mode-line-percent-position): New customizable user option. (mode-line-position): Use mode-line-percent-position in place of "%p", etc. * src/xdisp.c (decode_mode_spec): Add handlers for "%o" and "%q". * doc/lispref/modes.texi (Mode Line Variables): Document mode-line-percent-position. (%-Constructs): Document %o and %q. * etc/NEWS: Add an entry for these new facilities.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions