From 77af52939e8f187f77a9eb4b58965d045c5a57e9 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 9 Jun 1995 14:35:26 +0000 Subject: [PATCH] (gnus-cancel-news): Use `buffer-disable-undo'. (gnus-inews-article): Ditto. (gnus-inews-insert-signature): Use the recommended hyphen-hyphen-space as the signature delimiter. --- lisp/gnuspost.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/gnuspost.el b/lisp/gnuspost.el index 3e1737039f6..a4aa82bb7f8 100644 --- a/lisp/gnuspost.el +++ b/lisp/gnuspost.el @@ -436,7 +436,7 @@ original message into it." (ding) (message "This article is not yours.")) ;; Make control article. (set-buffer (get-buffer-create " *GNUS-canceling*")) - (buffer-flush-undo (current-buffer)) + (buffer-disable-undo (current-buffer)) (erase-buffer) (insert "Newsgroups: " newsgroups "\n" "Subject: cancel " message-id "\n" @@ -467,7 +467,7 @@ original message into it." (tmpbuf (get-buffer-create " *GNUS-posting*"))) (save-excursion (set-buffer tmpbuf) - (buffer-flush-undo (current-buffer)) + (buffer-disable-undo (current-buffer)) (erase-buffer) (insert-buffer-substring artbuf) ;; Remove the header separator. @@ -577,7 +577,7 @@ Signature file is specified by the variable gnus-signature-file." (if (file-exists-p signature) (progn (goto-char (point-max)) - (insert "--\n") + (insert "-- \n") (insert-file-contents signature))) )))))) -- 2.39.2