# HG changeset patch # User Glenn Morris # Date 1228188985 0 # Node ID bf1d69cb46816c9d11759df425ef0a48ffd973ea # Parent bd6671636b3b94c15979cabb8e80c6dc2eea53a6 (texinfo-insert-quote): Tweak previous change. diff -r bd6671636b3b -r bf1d69cb4681 lisp/ChangeLog --- 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 + + * 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 + + * 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 + + * 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 * international/uni-decomposition.el: Re-generated. diff -r bd6671636b3b -r bf1d69cb4681 lisp/textmodes/texinfo.el --- 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))