mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Require sendmail.
(news-caesar-buffer-body): Use mail-text-start.
This commit is contained in:
parent
92a3f23d5b
commit
b89e2d3602
1 changed files with 5 additions and 9 deletions
|
|
@ -54,6 +54,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'mail-utils)
|
||||
(require 'sendmail)
|
||||
|
||||
(autoload 'rmail-output "rmailout"
|
||||
"Append this message to Unix mail file named FILE-NAME."
|
||||
|
|
@ -971,15 +972,10 @@ Mail and USENET news headers are not rotated."
|
|||
(let ((buffer-status buffer-read-only))
|
||||
(setq buffer-read-only nil)
|
||||
;; setup the region
|
||||
(set-mark (if (progn (goto-char (point-min))
|
||||
(search-forward
|
||||
(concat "\n"
|
||||
(if (equal major-mode 'news-mode)
|
||||
""
|
||||
mail-header-separator)
|
||||
"\n") nil t))
|
||||
(point)
|
||||
(point-min)))
|
||||
(set-mark (if (equal major-mode 'news-mode)
|
||||
(progn (goto-char (point-min))
|
||||
(search-forward "\n\n" nil t))
|
||||
(mail-text-start)))
|
||||
(goto-char (point-max))
|
||||
(caesar-region rotnum)
|
||||
(setq buffer-read-only buffer-status))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue