* pgg-def.el (pgg-truncate-key-identifier): New macro.
authorueno <ueno>
Wed, 3 Nov 1999 09:39:51 +0000 (09:39 +0000)
committerueno <ueno>
Wed, 3 Nov 1999 09:39:51 +0000 (09:39 +0000)
pgg-def.el

index 83507f3..9a7f6be 100644 (file)
@@ -48,6 +48,9 @@
 (defvar pgg-scheme nil
   "Current scheme of PGP implementation")
 
+(defmacro pgg-truncate-key-identifier (key)
+  `(if (> (length ,key) 8) (substring ,key 8) ,key))
+
 (provide 'pgg-def)
 
 ;;; pgg-def.el ends here