+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
(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.