1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

(woman-mode): Restore tab-width value after the call to Man-mode, since

Man-mode resets it to the default, and that makes right	margin extend
beyond woman-fill-column.
This commit is contained in:
Eli Zaretskii 2009-03-07 15:30:05 +00:00
parent 00460cfd96
commit 1efaf74bf4
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,9 @@
* woman.el (woman-parse-colon-path): Return a list even if there's
only one directory in PATHS.
(woman-mode): Restore tab-width value after the call to Man-mode,
since Man-mode resets it to the default, and that makes right
margin extend beyond woman-fill-column.
* man.el (Man-init-defvars) [windows-nt]: Use a special command
list. Don't invoke Awk.

View File

@ -1949,7 +1949,8 @@ See `Man-mode' for additional details."
(fset 'Man-build-page-list Man-build-page-list)
(fset 'Man-strip-page-headers Man-strip-page-headers)
(fset 'Man-unindent Man-unindent)
(fset 'Man-goto-page Man-goto-page)))
(fset 'Man-goto-page Man-goto-page)
(setq tab-width woman-tab-width)))
(setq major-mode 'woman-mode
mode-name "WoMan")
;; Don't show page numbers like Man-mode does. (Online documents do