From 78151cd534f3dd142aa6c09e529115b7aa92f156 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 2 Dec 2008 03:36:25 +0000 Subject: [PATCH] (texinfo-insert-quote): Tweak previous change. --- lisp/ChangeLog | 19 +++++++++++++++++++ lisp/textmodes/texinfo.el | 5 ++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 44629dad81f..2823fcf541f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index ba61ab54008..254426d249e 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el @@ -682,9 +682,8 @@ With prefix argument or inside @code or @example, inserts a plain \"." (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)) -- 2.11.4.GIT