diff lisp/files.el @ 71053:ae67d314ac22

(hack-one-local-variable-eval-safep): Don't burp if used during bootstrapping.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 29 May 2006 05:47:29 +0000
parents ec18670c9aae
children 3f5c0d075410
line wrap: on
line diff
--- a/lisp/files.el	Mon May 29 04:39:46 2006 +0000
+++ b/lisp/files.el	Mon May 29 05:47:29 2006 +0000
@@ -2689,7 +2689,10 @@
 		    (or (numberp val) (equal val ''defun)))
 		   ((eq prop 'edebug-form-spec)
 		    ;; Only allow indirect form specs.
-		    (edebug-basic-spec val)))))
+		    ;; During bootstrapping, edebug-basic-spec might not be
+		    ;; defined yet.
+                    (and (fboundp 'edebug-basic-spec)
+                         (edebug-basic-spec val))))))
       ;; Allow expressions that the user requested.
       (member exp safe-local-eval-forms)
       ;; Certain functions can be allowed with safe arguments