]> git.eshelyaron.com Git - emacs.git/commitdiff
(lisp-fill-paragraph): Only obey emacs-lisp-docstring-fill-column in
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 1 Apr 2007 19:35:32 +0000 (19:35 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 1 Apr 2007 19:35:32 +0000 (19:35 +0000)
emacs-lisp-mode.

lisp/ChangeLog
lisp/emacs-lisp/lisp-mode.el

index 50ce561026eca03bc323d9ab936392b53b07ce2c..f31cf647ada5f0f76609c75374b80c895a96b061 100644 (file)
@@ -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.
        * 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>
index 09cb8436c8900ebcab8f9a499f797b49f5bcab22..164756dfdc3593d10be52662796e23005bb13739 100644 (file)
@@ -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))