aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-12-02 03:36:25 +0000
committerGlenn Morris2008-12-02 03:36:25 +0000
commit78151cd534f3dd142aa6c09e529115b7aa92f156 (patch)
tree25681dfe2a1d16071f6c33561757b0f740a914a2
parent083654ee81c101fb648680e1071ecb974d447874 (diff)
downloademacs-78151cd534f3dd142aa6c09e529115b7aa92f156.tar.gz
emacs-78151cd534f3dd142aa6c09e529115b7aa92f156.zip
(texinfo-insert-quote): Tweak previous change.
-rw-r--r--lisp/ChangeLog19
-rw-r--r--lisp/textmodes/texinfo.el5
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 @@
12008-12-02 Glenn Morris <rgm@gnu.org>
2
3 * format.el (format-write-file): Rewrite doc yet again.
4
5 * progmodes/cc-vars.el (c-tab-always-indent, c-insert-tab-function):
6 Doc fix. (Bug#1368)
7
8 * textmodes/texinfo.el (texinfo-insert-quote): Tweak previous change.
9
102008-12-02 Aaron S. Hawley <aaronh@garden.org>
11
12 * textmodes/texinfo.el (texinfo-insert-quote): Handle corner
13 case where point is at the beginning of the buffer. (Bug#1239)
14
152008-12-02 Lennart Borgman <lennart.borgman@gmail.com>
16
17 * nxml/nxml-mode.el (nxml-indent-line): Don't re-indent lines that
18 already have the correct indentation. (Bug#859)
19
12008-12-02 Kenichi Handa <handa@m17n.org> 202008-12-02 Kenichi Handa <handa@m17n.org>
2 21
3 * international/uni-decomposition.el: Re-generated. 22 * 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 \"."
682 (if (or arg 682 (if (or arg
683 (= (preceding-char) ?\\) 683 (= (preceding-char) ?\\)
684 (save-excursion 684 (save-excursion
685 (if (> (point) (length texinfo-open-quote)) 685 ;; Might be near the start of a (narrowed) buffer.
686 (backward-char (length texinfo-open-quote)) 686 (ignore-errors (backward-char (length texinfo-open-quote)))
687 (goto-char (point-min)))
688 (when (or (looking-at texinfo-open-quote) 687 (when (or (looking-at texinfo-open-quote)
689 (looking-at texinfo-close-quote)) 688 (looking-at texinfo-close-quote))
690 (delete-char (length texinfo-open-quote)) 689 (delete-char (length texinfo-open-quote))