]> git.eshelyaron.com Git - emacs.git/commitdiff
(gnus-cancel-news): Use `buffer-disable-undo'.
authorKarl Heuer <kwzh@gnu.org>
Fri, 9 Jun 1995 14:35:26 +0000 (14:35 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 9 Jun 1995 14:35:26 +0000 (14:35 +0000)
(gnus-inews-article): Ditto.
(gnus-inews-insert-signature): Use the recommended
hyphen-hyphen-space as the signature delimiter.

lisp/gnuspost.el

index 3e1737039f6b2f66333ee2ccb70f5b73c29dd81a..a4aa82bb7f8a3dc2215dcb79f9fd5094029e1845 100644 (file)
@@ -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)))
              ))))))