X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fsha1-el.el;h=7f78451b5836d653cd8369b7950ed8e8423b92ec;hb=6022eb441a0de8315559e1b7e5beb50b5ecc32b5;hp=32fd2fe7809b92e9794ad80d2ff1601495a3cf94;hpb=e05737bc7f676338c6c0270c57acacd9a8d4353b;p=gnus diff --git a/lisp/sha1-el.el b/lisp/sha1-el.el index 32fd2fe78..7f78451b5 100644 --- a/lisp/sha1-el.el +++ b/lisp/sha1-el.el @@ -54,7 +54,7 @@ (require 'hex-util) -(autoload 'executable-find "executable") +(ignore-errors (autoload 'executable-find "executable")) ;;; ;;; external SHA1 function. @@ -79,7 +79,7 @@ It must be a string \(program name\) or list of strings \(name and its args\)." :type '(repeat string) :group 'sha1) -(defcustom sha1-use-external (executable-find (car sha1-program)) +(defcustom sha1-use-external (ignore-errors (executable-find (car sha1-program))) "*Use external SHA1 program. If this variable is set to nil, use internal function only." :type 'boolean