aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorGregory Heytings2022-07-06 10:04:38 +0000
committerGregory Heytings2022-07-06 12:06:53 +0200
commiteb6d2fb58da56583490b18f4bfd705844b42180f (patch)
tree15caaaf61ce6562daf5c1411c0f666b76b6b1af7 /src/bytecode.c
parent38b3780f6e1bdcbb2a9a7dde76fa55da36e2774f (diff)
downloademacs-eb6d2fb58da56583490b18f4bfd705844b42180f.tar.gz
emacs-eb6d2fb58da56583490b18f4bfd705844b42180f.zip
Various improvements to auto-narrow mode.
* lisp/files.el (auto-narrow-display-length): Improve docstring. (auto-narrow-widen-automatically): Add 'undo' to the command list. (auto-narrow-hook): New defcustom. (auto-narrow-pre-command-function, auto-narrow-post-command-function): Move initialization code. (auto-narrow-mode): Do not make the 'auto-narrow-mode' permanent local anymore. * lisp/font-lock.el (turn-off-font-lock-mode): New convenience function. * src/xdisp.c (set_vertical_scroll_bar): Fix typo. (redisplay_window): Use the new convenience function. * src/buffer.h (BUFFER_NEEDS_AUTO_NARROWING_P, BUFFER_AUTO_NARROWED_NON_NARROWED_P): Two new convenience functions. * src/window.c (Frecenter): Do not recenter auto-narrowed buffers that are not actually narrowed. * etc/NEWS: Improvement. * doc/emacs/display.texi (Auto-Narrowing): Improvement.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions