Mercurial > emacs
diff lisp/textmodes/texinfmt.el @ 24745:aa8417416f03
(texinfo-anchor): Don't delete a non-speace after the @anchor command.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 19 May 1999 01:40:23 +0000 |
parents | 54ef2ebc8494 |
children | ea9b449cc742 |
line wrap: on
line diff
--- a/lisp/textmodes/texinfmt.el Wed May 19 01:30:15 1999 +0000 +++ b/lisp/textmodes/texinfmt.el Wed May 19 01:40:23 1999 +0000 @@ -1143,7 +1143,8 @@ (let (anchor-string (here (- (point) 7)) ; save location of beginning of `@anchor' (arg (texinfo-parse-arg-discard))) - (delete-char 1) ; since a space is left after -discard + (if (looking-at " ") ; since a space may be left after -discard + (delete-char 1)) (forward-paragraph) (let ((end (point))) (if (save-excursion