]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/startup.el (command-line): Handle nil elements in load-path.
authorGlenn Morris <rgm@gnu.org>
Mon, 10 Nov 2014 07:12:37 +0000 (23:12 -0800)
committerGlenn Morris <rgm@gnu.org>
Mon, 10 Nov 2014 07:12:37 +0000 (23:12 -0800)
lisp/ChangeLog
lisp/startup.el

index c3ecb7536e0d29751e60d1a1d90d347cd8d0266a..33777c5afa4403009caa67384fd903afac01f8b5 100644 (file)
@@ -1,3 +1,7 @@
+2014-11-10  Glenn Morris  <rgm@gnu.org>
+
+       * startup.el (command-line): Handle nil elements in load-path.
+
 2014-11-08  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/bytecomp.el (byte-compile-report-error):
index 54ed53e69c8e65d069b0fdbb20a6194a3079a1e1..17930b4a7b0d6c61c6e7cb26220f304d2ec7fed0 100644 (file)
@@ -1319,6 +1319,7 @@ the `--debug-init' option to view a complete error backtrace."
   (let (warned)
     (dolist (dir load-path)
       (and (not warned)
+          (stringp dir)
           (string-match-p "/[._]emacs\\.d/?\\'" dir)
           (string-equal (file-name-as-directory (expand-file-name dir))
                         (expand-file-name user-emacs-directory))