From: Glenn Morris Date: Mon, 7 May 2012 04:29:59 +0000 (-0700) Subject: Improve previous dir-locals-read-from-file change X-Git-Tag: emacs-24.0.97~23 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=188d270185eca5ea83f2a603d7d22e37cbffaefc;p=emacs.git Improve previous dir-locals-read-from-file change --- diff --git a/lisp/files.el b/lisp/files.el index 6a91129dd1c..c46d7c22d92 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3625,7 +3625,7 @@ is found. Returns the new class name." (with-temp-buffer ;; This is with-demoted-errors, but we want to mention dir-locals ;; in any error message. - (let ((err (make-symbol "err"))) + (let (err) (condition-case err (progn (insert-file-contents file)