HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d7208e
)
(list-load-path-shadows): Only ignore last copy of standard Lisp
author
Richard M. Stallman
<rms@gnu.org>
Thu, 28 Mar 2002 18:15:32 +0000
(18:15 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 28 Mar 2002 18:15:32 +0000
(18:15 +0000)
directories.
lisp/emacs-lisp/shadow.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/emacs-lisp/shadow.el
b/lisp/emacs-lisp/shadow.el
index
4d7477c
..
0a7b435
100644
(file)
--- a/
lisp/emacs-lisp/shadow.el
+++ b/
lisp/emacs-lisp/shadow.el
@@
-214,10
+214,10
@@
buffer called `*Shadows*'. Shadowings are located by calling the
(setq tem (cdr tem)))
(if (> (length toplevs) 1)
;; Cut off our copy of load-path right before
- ;; the
second
directory which has simple.el in it.
+ ;; the
last
directory which has simple.el in it.
;; This avoids loads of duplications between the source dir
;; and the dir where these files were copied by installation.
- (let ((break (
nth (- (length toplevs) 2)
toplevs)))
+ (let ((break (
car
toplevs)))
(setq tem path)
(while tem
(if (eq (nth 1 tem) break)