diff options
author | Eli Zaretskii <eliz@gnu.org> | 2009-03-07 15:30:05 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2009-03-07 15:30:05 +0000 |
commit | 1efaf74bf4f91e18e660e8fcde09cfaf8771e39c (patch) | |
tree | 9fe227c76926b3fa167aba1036468f8f1ceb5690 /lisp/woman.el | |
parent | 00460cfd96419cbcd664649ad41d8e01c651f0b5 (diff) | |
download | emacs-1efaf74bf4f91e18e660e8fcde09cfaf8771e39c.tar.gz |
(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.
Diffstat (limited to 'lisp/woman.el')
-rw-r--r-- | lisp/woman.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/woman.el b/lisp/woman.el index 5fbb5ef6fdb..b7b856c9b08 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -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 |