Skip to content

Commit f9685f9

Browse files
committed
* lisp/emacs-lisp/package.el (package-activate-1): Avoid duplicates
in `Info-directory-list`.
1 parent 1de9e0f commit f9685f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/emacs-lisp/package.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ correspond to previously loaded files (those returned by
798798
;; FIXME: not the friendliest, but simple.
799799
(require 'info)
800800
(info-initialize)
801-
(push pkg-dir Info-directory-list))
801+
(add-to-list 'Info-directory-list pkg-dir))
802802
(push name package-activated-list)
803803
;; Don't return nil.
804804
t)))

0 commit comments

Comments
 (0)