From: Glenn Morris Date: Thu, 30 Oct 2014 22:52:38 +0000 (-0400) Subject: * lisp/startup.el (command-line): Remove pointless attempt to avoid statting fs X-Git-Tag: emacs-25.0.90~2635^2~617 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b77b92545557087ca7fe75c4bf79885354c58be4;p=emacs.git * lisp/startup.el (command-line): Remove pointless attempt to avoid statting fs ; which expand-file-name doesn't even do. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 91f61aa448b..e56829783f4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-10-30 Glenn Morris + + * startup.el (command-line): Remove pointless attempt to avoid + statting the file-system (which expand-file-name doesn't do). + 2014-10-30 Alan Mackenzie Add "enum classs" support to C++ mode. diff --git a/lisp/startup.el b/lisp/startup.el index 88611a0cd8f..fcbd06da0d0 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1286,11 +1286,6 @@ the `--debug-init' option to view a complete error backtrace." (let (warned) (dolist (dir load-path) (and (not warned) - (string-match-p - (format "/%s/?\\'" - (regexp-quote - (file-name-nondirectory - (directory-file-name user-emacs-directory)))) dir) (string-equal (file-name-as-directory (expand-file-name dir)) (expand-file-name user-emacs-directory)) (setq warned t)