Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d363bffb
Commit
d363bffb
authored
Jun 17, 2013
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+4
-4
No files found.
lisp/ChangeLog
View file @
d363bffb
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
lisp/emacs-lisp/package.el
View file @
d363bffb
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment