(wl-message-verify-pgp-nonmime): Cause an error if no PGP signed region is found.
(inhibit-read-only t)
coding-system)
(unless region
- (error "Cannot find pgp encrypted region"))
+ (error "Cannot find PGP encrypted region"))
(save-restriction
(let ((props (text-properties-at (car region))))
(narrow-to-region (car region) (cdr region))
(let ((region (wl-find-region "^-+BEGIN PGP SIGNED MESSAGE-+$"
"^-+END PGP SIGNATURE-+$"))
coding-system)
+ (unless region
+ (error "Cannot find PGP signed region"))
(setq coding-system
(or (get-text-property (car region) 'wl-mime-decoded-coding-system)
(let* ((situation (mime-preview-find-boundary-info))