From 25401cd0648652db9c0f2b0f113668b1968766ff Mon Sep 17 00:00:00 2001 From: ueno Date: Wed, 3 Nov 1999 06:53:37 +0000 Subject: [PATCH] (pgg-decode-armor-region): Remove autoload cookie. (pgg-armor-header-lines): New variable. --- pgg-parse.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pgg-parse.el b/pgg-parse.el index 472e6cc..237bfe3 100644 --- a/pgg-parse.el +++ b/pgg-parse.el @@ -97,6 +97,13 @@ :group 'pgg-parse :type 'boolean) +(defvar pgg-armor-header-lines + '("^-----BEGIN PGP MESSAGE\\(, PART [0-9]+\\(/[0-9]+\\)?\\)?-----\r?$" + "^-----BEGIN PGP PUBLIC KEY BLOCK-----\r?$" + "^-----BEGIN PGP PRIVATE KEY BLOCK-----\r?$" + "^-----BEGIN PGP SIGNATURE-----\r?$") + "Armor headers") + (defmacro pgg-format-key-identifier (string) `(upcase (apply #'format "%02x%02x%02x%02x%02x%02x%02x%02x" (string-to-int-list ,string)))) @@ -472,7 +479,6 @@ checksum) (error "PGP packet checksum does not match."))))) -;;;###autoload (defun pgg-decode-armor-region (start end) (save-restriction (narrow-to-region start end) -- 1.7.10.4