Mercurial > emacs
changeset 102441:9bfb1c4c4223
(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.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 07 Mar 2009 15:28:58 +0000 |
parents | 7799802575e6 |
children | e04bc13e74c7 |
files | lisp/woman.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/woman.el Sat Mar 07 14:36:36 2009 +0000 +++ b/lisp/woman.el Sat Mar 07 15:28:58 2009 +0000 @@ -1949,7 +1949,8 @@ (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