diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-04-01 19:35:32 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-04-01 19:35:32 +0000 |
commit | 8ae799ba73eecc636ce2b877d4bee1b90b634252 (patch) | |
tree | 7153c8b7afd4ed83702414f8e204f4887ebceeb4 | |
parent | 5605893d03d128a088eca3ea36af392bf7d111eb (diff) | |
download | emacs-8ae799ba73eecc636ce2b877d4bee1b90b634252.tar.gz |
(lisp-fill-paragraph): Only obey emacs-lisp-docstring-fill-column in
emacs-lisp-mode.
-rw-r--r-- | lisp/ChangeLog | 19 | ||||
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 3 |
2 files changed, 15 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 50ce561026e..f31cf647ada 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2007-04-01 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Only obey + emacs-lisp-docstring-fill-column in emacs-lisp-mode. + + * newcomment.el (comment-search-forward): Discard comment starters + before point. + 2007-04-01 Guanpeng Xu <herberteuler@hotmail.com> * mouse.el (mouse-set-secondary): Update mouse-secondary-overlay. @@ -7,16 +15,15 @@ * mail/smtpmail.el (smtpmail-via-smtp): Use standard case table when downcasing. - * button.el (previous-button): Rewrite to account for adjacent - buttons. + * button.el (previous-button): Rewrite to account for adjacent buttons. 2007-04-01 J.D. Smith <jdsmith@as.arizona.edu> - * progmodes/idlwave.el (idlwave-auto-fill): Revert - paragraph-separate change. + * progmodes/idlwave.el (idlwave-auto-fill): + Revert paragraph-separate change. - * progmodes/idlw-shell.el (idlwave-shell-break-in): Simplify - module calc. + * progmodes/idlw-shell.el (idlwave-shell-break-in): + Simplify module calc. (idlwave-shell-set-bp-in-module): Compute module. 2007-03-31 Glenn Morris <rgm@gnu.org> diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 09cb8436c89..164756dfdc3 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -1280,7 +1280,8 @@ and initial semicolons." "\\|\\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)) |