commit: 4b91be334a8f82cb5dc3df6d884c44eebfc605aa Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Mon Nov 10 07:37:04 2014 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Nov 10 07:37:04 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=4b91be33
Fix runtime failure when load-path contains a nil element, bug 528664. --- emacs/24.4/02_all_nil-in-load-path.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/emacs/24.4/02_all_nil-in-load-path.patch b/emacs/24.4/02_all_nil-in-load-path.patch new file mode 100644 index 0000000..ffced77 --- /dev/null +++ b/emacs/24.4/02_all_nil-in-load-path.patch @@ -0,0 +1,14 @@ +Fix runtime failure when load-path contains a nil element. +https://bugs.gentoo.org/528664 +http://thread.gmane.org/gmane.emacs.devel/176646 + +--- emacs-24.4-orig/lisp/startup.el ++++ emacs-24.4/lisp/startup.el +@@ -1319,6 +1319,7 @@ + (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))
