projects
/
gnus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* mm-decode.el (mm-with-part): New macro.
[gnus]
/
lisp
/
encrypt.el
diff --git
a/lisp/encrypt.el
b/lisp/encrypt.el
index
9a6b642
..
bbf631a
100644
(file)
--- a/
lisp/encrypt.el
+++ b/
lisp/encrypt.el
@@
-19,8
+19,8
@@
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 5
9 Temple Place - Suite 330
,
-;; Boston, MA 0211
1-1307
, USA.
+;; Free Software Foundation, Inc., 5
1 Franklin Street, Fifth Floor
,
+;; Boston, MA 0211
0-1301
, USA.
;;; Commentary:
;;; Commentary:
@@
-34,8
+34,10
@@
(eval-and-compile
(autoload 'password-read "password"))
(eval-and-compile
(autoload 'password-read "password"))
-(defgroup encrypt nil
- "File encryption configuration.")
+(defgroup encrypt '((password-cache custom-variable)
+ (password-cache-expiry custom-variable))
+ "File encryption configuration."
+ :group 'applications)
(defcustom encrypt-file-alist nil
"List of file names or regexes matched with encryptions.
(defcustom encrypt-file-alist nil
"List of file names or regexes matched with encryptions.
@@
-124,8
+126,8
@@
Format example:
(if outdata
(progn
(if outdata
(progn
- (
gnus-message 9
"%s was decrypted with %s (cipher %s)"
-
file (symbol-name method) cipher)
+ (
message
"%s was decrypted with %s (cipher %s)"
+ file (symbol-name method) cipher)
(delete-region (point-min) (point-max))
(goto-char (point-min))
(insert outdata))
(delete-region (point-min) (point-max))
(goto-char (point-min))
(insert outdata))
@@
-170,8
+172,8
@@
Format example:
(if outdata
(progn
(if outdata
(progn
- (
gnus-message 9
"%s was encrypted with %s (cipher %s)"
-
file (symbol-name method) cipher)
+ (
message
"%s was encrypted with %s (cipher %s)"
+ file (symbol-name method) cipher)
(delete-region (point-min) (point-max))
(goto-char (point-min))
(insert outdata)
(delete-region (point-min) (point-max))
(goto-char (point-min))
(insert outdata)
@@
-211,7
+213,7
@@
Format example:
(progn
(setq new-list (reverse (split-string bs)))
(dolist (x new-list)
(progn
(setq new-list (reverse (split-string bs)))
(dolist (x new-list)
- (setq x (string-to-
int
x))
+ (setq x (string-to-
number
x))
(insert (format "%c" (logxor x passphrase-sum))))))
(buffer-substring-no-properties (point-min) (point-max)))))
(insert (format "%c" (logxor x passphrase-sum))))))
(buffer-substring-no-properties (point-min) (point-max)))))