mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-27 02:10:52 -08:00
Don't use package-user-dir in elisp-library-roots if it's not bound
* lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't use package-user-dir if it's not bound (bug#19759).
This commit is contained in:
parent
345a9c8cd0
commit
58dfc16cd0
1 changed files with 3 additions and 2 deletions
|
|
@ -832,8 +832,9 @@ non-nil result supercedes the xrefs produced by
|
|||
(xref-elisp-location-file l))
|
||||
|
||||
(defun elisp-library-roots ()
|
||||
(defvar package-user-dir)
|
||||
(cons package-user-dir load-path))
|
||||
(if (boundp 'package-user-dir)
|
||||
(cons package-user-dir load-path)
|
||||
load-path))
|
||||
|
||||
;;; Elisp Interaction mode
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue