diff options
| author | Alan Mackenzie | 2017-05-21 10:16:09 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2017-05-21 10:16:09 +0000 |
| commit | b0b02ca7f3e06d0f092df6f81babd1277bf93b0f (patch) | |
| tree | 8d5d40e2150d975bd4a4a67e3190fe65b0f9ed37 /src/kqueue.c | |
| parent | 9759b249e97d4b05644309fc70ae9277b347027e (diff) | |
| download | emacs-b0b02ca7f3e06d0f092df6f81babd1277bf93b0f.tar.gz 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 'src/kqueue.c')
0 files changed, 0 insertions, 0 deletions