emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107840: `python-fill-paragraph' fill


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107840: `python-fill-paragraph' filling fixup when font-lock is disabled
Date: Tue, 10 Apr 2012 13:27:44 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107840
fixes bug(s): http://debbugs.gnu.org/7018
author: Nathan Weizenbaum <address@hidden>
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Tue 2012-04-10 13:27:44 +0200
message:
  `python-fill-paragraph' filling fixup when font-lock is disabled
  
  * progmodes/python.el (python-fill-paragraph): Make
  python-fill-region in a multiline string work when font-lock is
  disabled.
modified:
  lisp/ChangeLog
  lisp/progmodes/python.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-04-10 11:15:11 +0000
+++ b/lisp/ChangeLog    2012-04-10 11:27:44 +0000
@@ -1,3 +1,9 @@
+2012-04-10  Nathan Weizenbaum  <address@hidden>
+
+       * progmodes/python.el (python-fill-paragraph): Make
+       python-fill-region in a multiline string work when font-lock is
+       disabled (bug#7018).
+
 2012-04-10  Laimonas VÄ—bra  <address@hidden>  (tiny change)
 
        * language/european.el (cp775): Added oem/legacy (en)coding on

=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el  2012-04-09 13:05:48 +0000
+++ b/lisp/progmodes/python.el  2012-04-10 11:27:44 +0000
@@ -1959,7 +1959,7 @@
                ;; paragraph in a multi-line string properly, so narrow
                ;; to the string and then fill around (the end of) the
                ;; current line.
-               ((eq t (nth 3 syntax))  ; in fenced string
+               ((nth 3 syntax) ; in fenced string
                 (goto-char (nth 8 syntax)) ; string start
                 (setq start (line-beginning-position))
                 (setq end (condition-case () ; for unbalanced quotes


reply via email to

[Prev in Thread] Current Thread [Next in Thread]