From 9ed79f5d1a079d11efa7dd71581709df73b6ed53 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sun, 9 Jan 2000 18:21:26 +0000 Subject: [PATCH] (texinfo-format-scan): Use ?\n instead of a real newline. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/texinfmt.el | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e9d6dfa83d6..3f34bec18e5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2000-01-09 Gerd Moellmann + + * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead + of a real newline. + 2000-01-09 Stephen Eglen * dired-x.el (dired-guess-shell-alist-default): Suggest xv diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index c83327cb4e8..f8b05f37d5d 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -858,8 +858,7 @@ lower types.") (if (not (= (following-char) ?\n)) (insert ? ))) ;; following char is a carriage return - ((= (following-char) ? -) + ((= (following-char) ?\n) ;; remove command (delete-region (1- (point)) (1+ (point))) ;; insert single space if not at end of line;