summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-12-08 00:36:58 +0200
committerJuri Linkov <juri@linkov.net>2019-12-08 00:36:58 +0200
commit7e387c9e5265b98dbb3b986f8ab8ac2217052831 (patch)
treea3d5d4307a74a38d9030b802a22121703df27cd8 /etc
parent97f24412e7c6a10924c4f63161225d7c5669d955 (diff)
downloademacs-7e387c9e5265b98dbb3b986f8ab8ac2217052831.tar.gz
* lisp/man.el (Man-width-max): New defcustom (bug#32536, bug#9385)
(Man-columns): New buffer-local variable. (Man-columns): New function. (Man-start-calling): Call Man-columns and set buffer-local Man-columns. (Man--window-state-change-timer): New internal variable. (Man--window-state-change): New internal function. (Man-fit-to-window): New function. (Man-mode): Add Man--window-state-change to local hook window-state-change-functions. * lisp/image-mode.el (image-fit-to-window): Add window arg to window-buffer call.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 28bcb720cde..996ef1e6bb9 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1268,6 +1268,8 @@ them to the 'browse-url' function, like the other protocols: 'ftp',
'http', and 'https'. This allows to have references to local HTML
files, for example.
+*** 'Man-width-max' (80 by default) limits the number of columns on man pages.
+
** Xref
+++