summaryrefslogtreecommitdiff
path: root/lisp/pgg-def.el
diff options
context:
space:
mode:
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)