diff options
| author | Reiner Steib | 2006-07-24 07:32:16 +0000 |
|---|---|---|
| committer | Reiner Steib | 2006-07-24 07:32:16 +0000 |
| commit | 88dcc76aa7eb09713bc525f6002d7f70f5d4a94a (patch) | |
| tree | 51dad01739fbccf535a59f2f22bf13577f58abf0 | |
| parent | 38db29e017d953859544de54b5fecf8d18f3f6c3 (diff) | |
| download | emacs-88dcc76aa7eb09713bc525f6002d7f70f5d4a94a.tar.gz 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)
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/pgg-def.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8bced1e0046..f5ebf1f1cec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-07-24 Daiki Ueno <ueno@unixuser.org> | ||
| 2 | |||
| 3 | * pgg-def.el (pgg-truncate-key-identifier): Truncate the key ID to 8 | ||
| 4 | letters from the end. Thanks to "David Smith" <davidsmith@acm.org> and | ||
| 5 | andreas@altroot.de (Andreas V,Av(Bgele) | ||
| 6 | |||
| 1 | 2006-07-23 Thien-Thi Nguyen <ttn@gnu.org> | 7 | 2006-07-23 Thien-Thi Nguyen <ttn@gnu.org> |
| 2 | 8 | ||
| 3 | * mouse.el (mouse-on-link-p): Doc fix. | 9 | * mouse.el (mouse-on-link-p): Doc fix. |
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 | |||
| 87 | "If t, inform the recipient that the input is text.") | 87 | "If t, inform the recipient that the input is text.") |
| 88 | 88 | ||
| 89 | (defmacro pgg-truncate-key-identifier (key) | 89 | (defmacro pgg-truncate-key-identifier (key) |
| 90 | `(if (> (length ,key) 8) (substring ,key 8) ,key)) | 90 | `(if (> (length ,key) 8) (substring ,key -8) ,key)) |
| 91 | 91 | ||
| 92 | (provide 'pgg-def) | 92 | (provide 'pgg-def) |
| 93 | 93 | ||