aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1999-05-19 01:40:23 +0000
committerRichard M. Stallman1999-05-19 01:40:23 +0000
commit294500f232a4c11b1ba87d0ceb49cdced025c676 (patch)
treeda34e7cfa2132a4e5675ee939d64e5ddda0f589f
parentb97771fc17f53e7b3e0e145fda14730abc9b1e4e (diff)
downloademacs-294500f232a4c11b1ba87d0ceb49cdced025c676.tar.gz
emacs-294500f232a4c11b1ba87d0ceb49cdced025c676.zip
(texinfo-anchor): Don't delete a non-speace after the @anchor command.
-rw-r--r--lisp/textmodes/texinfmt.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 101737227b2..91fa154933b 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -1143,7 +1143,8 @@ Leave point after argument."
1143 (let (anchor-string 1143 (let (anchor-string
1144 (here (- (point) 7)) ; save location of beginning of `@anchor' 1144 (here (- (point) 7)) ; save location of beginning of `@anchor'
1145 (arg (texinfo-parse-arg-discard))) 1145 (arg (texinfo-parse-arg-discard)))
1146 (delete-char 1) ; since a space is left after -discard 1146 (if (looking-at " ") ; since a space may be left after -discard
1147 (delete-char 1))
1147 (forward-paragraph) 1148 (forward-paragraph)
1148 (let ((end (point))) 1149 (let ((end (point)))
1149 (if (save-excursion 1150 (if (save-excursion