changeset 12166:4ef1d241407c

(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.
author Karl Heuer <kwzh@gnu.org>
date Fri, 09 Jun 1995 14:35:26 +0000
parents 8af89090767b
children 87f8b79217b3
files lisp/=gnuspost.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/=gnuspost.el	Fri Jun 09 03:09:50 1995 +0000
+++ b/lisp/=gnuspost.el	Fri Jun 09 14:35:26 1995 +0000
@@ -436,7 +436,7 @@
 		(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 @@
 	(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 @@
 	      (if (file-exists-p signature)
 		  (progn
 		    (goto-char (point-max))
-		    (insert "--\n")
+		    (insert "-- \n")
 		    (insert-file-contents signature)))
 	      ))))))