summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el8
1 files changed, 1 insertions, 7 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 0b1c55b36a0..c7b171055eb 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -499,8 +499,6 @@ It is the default value of the variable `top-level'."
;; available input methods.
(let ((tail load-path)
(lispdir (expand-file-name "../lisp" data-directory))
- ;; For out-of-tree builds, leim-list is generated in the build dir.
- (leimdir (expand-file-name "../leim" doc-directory))
dir)
(while tail
(setq dir (car tail))
@@ -508,12 +506,8 @@ It is the default value of the variable `top-level'."
(load (expand-file-name "subdirs.el") t t t))
;; Do not scan standard directories that won't contain a leim-list.el.
;; http://lists.gnu.org/archive/html/emacs-devel/2009-10/msg00502.html
- ;; Also skip leim/leim-list.el, since we preloaded that one.
+ ;; (Except the preloaded one in lisp/leim.)
(or (string-prefix-p lispdir dir)
- ;; Not supposed to be subdirs.el in leim, but someone
- ;; might have added one and be keeping their own leim-list
- ;; files in subdirs of leim.
- (string-equal leimdir dir)
(let ((default-directory dir))
(load (expand-file-name "leim-list.el") t t t)))
;; We don't use a dolist loop and we put this "setq-cdr" command at