emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100583: Fix for sc-nested-citatio


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100583: Fix for sc-nested-citation-p in supercite.el.
Date: Sun, 22 May 2011 14:46:49 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 100583
author: Sean Neakums <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Sun 2011-05-22 14:46:49 -0400
message:
  Fix for sc-nested-citation-p in supercite.el.
  
  See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=109145
  
  * mail/supercite.el (sc-default-cite-frame): Handle
  sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
modified:
  lisp/ChangeLog
  lisp/mail/supercite.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-05-16 12:29:35 +0000
+++ b/lisp/ChangeLog    2011-05-22 18:46:49 +0000
@@ -1,3 +1,8 @@
+2011-05-22  Sean Neakums  <address@hidden>
+
+       * mail/supercite.el (sc-default-cite-frame): Handle
+       sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
+
 2011-05-16  Andreas Schwab  <address@hidden>
 
        * diff-mode.el (diff-fixup-modifs): Fix last change.

=== modified file 'lisp/mail/supercite.el'
--- a/lisp/mail/supercite.el    2011-01-02 23:50:46 +0000
+++ b/lisp/mail/supercite.el    2011-05-22 18:46:49 +0000
@@ -186,7 +186,9 @@
     ;; paragraph, unless sc-cite-blank-lines-p is non-nil, in which
     ;; case we treat blank lines just like any other line.
     ("^[ \t]*$"                 (if sc-cite-blank-lines-p
-                                   (sc-cite-line)
+                                   (if sc-nested-citation-p
+                                       (sc-add-citation-level)
+                                     (sc-cite-line))
                                  (sc-fill-if-different "")))
     ;; do nothing if looking at a reference tag. make sure that the
     ;; tag string isn't the empty string since this will match every


reply via email to

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