emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r118239: * lisp/startup.el (command-line): Remove po


From: Glenn Morris
Subject: [Emacs-diffs] trunk r118239: * lisp/startup.el (command-line): Remove pointless attempt to avoid statting fs
Date: Thu, 30 Oct 2014 22:52:41 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 118239
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2014-10-30 18:52:38 -0400
message:
  * lisp/startup.el (command-line): Remove pointless attempt to avoid statting 
fs
  ; which expand-file-name doesn't even do.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/startup.el                startup.el-20091113204419-o5vbwnq5f7feedwu-260
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-10-30 16:07:19 +0000
+++ b/lisp/ChangeLog    2014-10-30 22:52:38 +0000
@@ -1,3 +1,8 @@
+2014-10-30  Glenn Morris  <address@hidden>
+
+       * 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  <address@hidden>
 
        Add "enum classs" support to C++ mode.

=== modified file 'lisp/startup.el'
--- a/lisp/startup.el   2014-10-30 05:15:28 +0000
+++ b/lisp/startup.el   2014-10-30 22:52:38 +0000
@@ -1286,11 +1286,6 @@
   (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]