From: Karl Heuer Date: Fri, 9 Jun 1995 14:35:26 +0000 (+0000) Subject: (gnus-cancel-news): Use `buffer-disable-undo'. X-Git-Tag: emacs-19.34~3693 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=77af52939e8f187f77a9eb4b58965d045c5a57e9;p=emacs.git (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. --- 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))) ))))))