summaryrefslogtreecommitdiff
path: root/lisp/=gnuspost.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-09 14:35:26 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-09 14:35:26 +0000
commit74753c7f0301ae51c04108ec739233e73d7d73be (patch)
treec8a1aa205be03b0c84019a871a98de9f4413dde7 /lisp/=gnuspost.el
parent67988806d67f41bd365725a2445b8bf3a1ad450e (diff)
downloademacs-74753c7f0301ae51c04108ec739233e73d7d73be.tar.gz
(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.
Diffstat (limited to 'lisp/=gnuspost.el')
-rw-r--r--lisp/=gnuspost.el6
1 files 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)))
))))))