Mercurial > emacs
diff lisp/emacs-lisp/lisp-mode.el @ 76880:def0f242e449
(lisp-fill-paragraph): Only obey emacs-lisp-docstring-fill-column in
emacs-lisp-mode.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 01 Apr 2007 19:34:21 +0000 |
parents | b72eb510e3d7 |
children | 36ddacf0d44b 4ef881a120fe |
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el Sun Apr 01 19:33:44 2007 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Sun Apr 01 19:34:21 2007 +0000 @@ -1280,7 +1280,8 @@ "\\|\\s-*\\([(;:\"]\\|`(\\|#'(\\)")) (paragraph-separate (concat paragraph-separate "\\|\\s-*\".*[,\\.]$")) - (fill-column (if (integerp emacs-lisp-docstring-fill-column) + (fill-column (if (and (integerp emacs-lisp-docstring-fill-column) + (derived-mode-p 'emacs-lisp-mode)) emacs-lisp-docstring-fill-column fill-column))) (fill-paragraph justify))