changeset 100114:bf1d69cb4681

(texinfo-insert-quote): Tweak previous change.
author Glenn Morris <rgm@gnu.org>
date Tue, 02 Dec 2008 03:36:25 +0000
parents bd6671636b3b
children 3a36c6c70cad
files lisp/ChangeLog lisp/textmodes/texinfo.el
diffstat 2 files changed, 21 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Dec 02 03:34:19 2008 +0000
+++ b/lisp/ChangeLog	Tue Dec 02 03:36:25 2008 +0000
@@ -1,3 +1,22 @@
+2008-12-02  Glenn Morris  <rgm@gnu.org>
+
+	* format.el (format-write-file): Rewrite doc yet again.
+
+	* progmodes/cc-vars.el (c-tab-always-indent, c-insert-tab-function):
+	Doc fix.  (Bug#1368)
+
+	* textmodes/texinfo.el (texinfo-insert-quote): Tweak previous change.
+
+2008-12-02  Aaron S. Hawley  <aaronh@garden.org>
+
+	* textmodes/texinfo.el (texinfo-insert-quote): Handle corner
+	case where point is at the beginning of the buffer.  (Bug#1239)
+
+2008-12-02  Lennart Borgman  <lennart.borgman@gmail.com>
+
+	* nxml/nxml-mode.el (nxml-indent-line): Don't re-indent lines that
+	already have the correct indentation.  (Bug#859)
+
 2008-12-02  Kenichi Handa  <handa@m17n.org>
 
 	* international/uni-decomposition.el: Re-generated.
--- a/lisp/textmodes/texinfo.el	Tue Dec 02 03:34:19 2008 +0000
+++ b/lisp/textmodes/texinfo.el	Tue Dec 02 03:36:25 2008 +0000
@@ -682,9 +682,8 @@
     (if (or arg
 	    (= (preceding-char) ?\\)
 	    (save-excursion
-              (if (> (point) (length texinfo-open-quote))
-                  (backward-char (length texinfo-open-quote))
-                (goto-char (point-min)))
+              ;; Might be near the start of a (narrowed) buffer.
+              (ignore-errors (backward-char (length texinfo-open-quote)))
 	      (when (or (looking-at texinfo-open-quote)
 			(looking-at texinfo-close-quote))
 		(delete-char (length texinfo-open-quote))