+2003-12-16 Simon Josefsson <jas@extundo.com>
+
+ * sha1-el.el (autoload): Don't use ignore-errors.
+ (sha1-use-external): Use condition-case. Suggested by Katsumi
+ Yamaoka <yamaoka@jpl.org>.
+
2003-12-15 Katsumi Yamaoka <yamaoka@jpl.org>
* nnmail.el (nnmail-split-fancy): Make it customizable with Emacs
(require 'hex-util)
-(ignore-errors (autoload 'executable-find "executable"))
+(autoload 'executable-find "executable")
;;;
;;; external SHA1 function.
:type '(repeat string)
:group 'sha1)
-(defcustom sha1-use-external (ignore-errors
- (executable-find (car sha1-program)))
+(defcustom sha1-use-external (condition-case ()
+ (executable-find (car sha1-program))
+ (error))
"*Use external SHA1 program.
If this variable is set to nil, use internal function only."
:type 'boolean