X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fmml-sec.el;h=a55e170b270ca7122a487935a3a90100d35146f3;hb=931e64049c6d898e55d204449f536e170937a03c;hp=85836048f9e92d1df44ebae5c7e950ab85a1c791;hpb=9a73b636c6fa0e0fe47a6aa33a0cee029b57f729;p=gnus diff --git a/lisp/mml-sec.el b/lisp/mml-sec.el index 85836048f..a55e170b2 100644 --- a/lisp/mml-sec.el +++ b/lisp/mml-sec.el @@ -1,5 +1,5 @@ ;;; mml-sec.el --- A package with security functions for MML documents -;; Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. +;; Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. ;; Author: Simon Josefsson ;; This file is not part of GNU Emacs, but the same permissions apply. @@ -165,7 +165,7 @@ You can also customize or set `mml-signencrypt-style-alist' instead." (interactive) (mml-secure-part "pgp" 'sign)) -(defun mml-secure-sign-pgp () +(defun mml-secure-sign-pgpauto () "Add MML tags to PGP-auto sign this MML part." (interactive) (mml-secure-part "pgpauto" 'sign)) @@ -219,7 +219,7 @@ You can also customize or set `mml-signencrypt-style-alist' instead." (save-excursion (goto-char (point-max)) (when (re-search-backward "^<#secure.*>\n" nil t) - (kill-region (match-beginning 0) (match-end 0))))) + (delete-region (match-beginning 0) (match-end 0))))) (defun mml-secure-message-sign-smime () "Add MML tag to encrypt/sign the entire message." @@ -259,7 +259,7 @@ If called with a prefix argument, only encrypt (do NOT sign)." (interactive "P") (mml-secure-message "pgpmime" (if dontsign 'encrypt 'signencrypt))) -(defun mml-secure-message-encrypt-pgpmime (&optional dontsign) +(defun mml-secure-message-encrypt-pgpauto (&optional dontsign) "Add MML tag to encrypt and sign the entire message. If called with a prefix argument, only encrypt (do NOT sign)." (interactive "P")