]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix for sc-nested-citation-p in supercite.el.
authorSean Neakums <sneakums@zork.net>
Sun, 22 May 2011 18:46:49 +0000 (14:46 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 22 May 2011 18:46:49 +0000 (14:46 -0400)
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.

lisp/ChangeLog
lisp/mail/supercite.el

index c07682f8a7b39b80e56273ea7ed8699cb8a56b18..ad7729fe38d4734f5668e708fd09fe11bd6d7c6a 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-22  Sean Neakums  <sneakums@zork.net>
+
+       * 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  <schwab@linux-m68k.org>
 
        * diff-mode.el (diff-fixup-modifs): Fix last change.
index 0dacfc3402d6ed638c0c87e41e03e9c0fcf5b22f..4676bf04059cfa1b10656c40aa3e48e1d5592938 100644 (file)
@@ -186,7 +186,9 @@ See the variable `sc-cite-frame-alist' for details."
     ;; 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