summaryrefslogtreecommitdiff
path: root/lisp/pgg-def.el
diff options
context:
space:
mode:
authorReiner Steib <Reiner.Steib@gmx.de>2006-07-24 07:32:16 +0000
committerReiner Steib <Reiner.Steib@gmx.de>2006-07-24 07:32:16 +0000
commit88dcc76aa7eb09713bc525f6002d7f70f5d4a94a (patch)
tree51dad01739fbccf535a59f2f22bf13577f58abf0 /lisp/pgg-def.el
parent38db29e017d953859544de54b5fecf8d18f3f6c3 (diff)
downloademacs-88dcc76aa7eb09713bc525f6002d7f70f5d4a94a.tar.gz
emacs-88dcc76aa7eb09713bc525f6002d7f70f5d4a94a.tar.bz2
emacs-88dcc76aa7eb09713bc525f6002d7f70f5d4a94a.zip
2006-07-24 Daiki Ueno <ueno@unixuser.org>
* pgg-def.el (pgg-truncate-key-identifier): Truncate the key ID to 8 letters from the end. Thanks to "David Smith" <davidsmith@acm.org> and andreas@altroot.de (Andreas V�e)
Diffstat (limited to 'lisp/pgg-def.el')
-rw-r--r--lisp/pgg-def.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pgg-def.el b/lisp/pgg-def.el
index 058dca4fa8f..6481a433423 100644
--- a/lisp/pgg-def.el
+++ b/lisp/pgg-def.el
@@ -87,7 +87,7 @@ Whether the passphrase is cached at all is controlled by
"If t, inform the recipient that the input is text.")
(defmacro pgg-truncate-key-identifier (key)
- `(if (> (length ,key) 8) (substring ,key 8) ,key))
+ `(if (> (length ,key) 8) (substring ,key -8) ,key))
(provide 'pgg-def)