Commit d363bffb authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

* lisp/emacs-lisp/package.el (package-load-descriptor): Do not call

`emacs-lisp-mode', just use its syntax table.
parent 84575e67
2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
* emacs-lisp/package.el (package-load-descriptor): Do not call
`emacs-lisp-mode', just use its syntax table.
2013-06-17 Juanma Barranquero <lekktu@gmail.com>
* progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
......@@ -419,11 +419,11 @@ This is, approximately, the inverse of `version-to-list'.
(when (file-exists-p pkg-file)
(with-temp-buffer
(insert-file-contents pkg-file)
(emacs-lisp-mode)
(goto-char (point-min))
(let ((pkg-desc (package-process-define-package
(read (current-buffer)) pkg-file)))
(setf (package-desc-dir pkg-desc) pkg-dir))))))
(with-syntax-table emacs-lisp-mode-syntax-table
(let ((pkg-desc (package-process-define-package
(read (current-buffer)) pkg-file)))
(setf (package-desc-dir pkg-desc) pkg-dir)))))))
(defun package-load-all-descriptors ()
"Load descriptors for installed Emacs Lisp packages.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment