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
97100b43
Commit
97100b43
authored
May 12, 2014
by
Stefan Monnier
Browse files
* lisp/emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
into autoloading just because of a silly indirection.
parent
970fd401
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/nadvice.el
lisp/emacs-lisp/nadvice.el
+1
-1
No files found.
lisp/ChangeLog
View file @
97100b43
2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
into autoloading just because of a silly indirection.
2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
* vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
...
...
lisp/emacs-lisp/nadvice.el
View file @
97100b43
...
...
@@ -134,7 +134,7 @@ Each element has the form (WHERE BYTECODE STACK) where:
(
defun
advice--interactive-form
(
function
)
;; Like `interactive-form' but tries to avoid autoloading functions.
(
when
(
commandp
function
)
(
if
(
not
(
and
(
symbolp
function
)
(
autoloadp
(
symbol
-function
function
))))
(
if
(
not
(
and
(
symbolp
function
)
(
autoloadp
(
indirect
-function
function
))))
(
interactive-form
function
)
`
(
interactive
(
advice-eval-interactive-spec
(
cadr
(
interactive-form
',function
)))))))
...
...
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