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
a77b8d5e
Commit
a77b8d5e
authored
Nov 13, 2012
by
Tsuyoshi Kitamoto
Committed by
Stefan Monnier
Nov 13, 2012
Browse files
* emacs-lisp/advice.el: Fix typos in comment.
parent
fa470af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/emacs-lisp/nadvice.el
lisp/emacs-lisp/nadvice.el
+2
-2
No files found.
lisp/emacs-lisp/nadvice.el
View file @
a77b8d5e
...
...
@@ -30,7 +30,7 @@
;; holds a function.
;; This part provides mainly 2 macros: `add-function' and `remove-function'.
;;
;; - The second part provides `ad
d-advice' and `remove-advic
e' which are
;; - The second part provides `ad
vice-add' and `advice-remov
e' which are
;; refined version of the previous macros specially tailored for the case
;; where the place that we want to modify is a `symbol-function'.
...
...
@@ -234,7 +234,7 @@ of the piece of advice."
(
cond
((
special-form-p
def
)
;; Not worth the trouble trying to handle this, I think.
(
error
"ad
d-ad
vice failure: %S is a special form"
symbol
))
(
error
"advice
-add
failure: %S is a special form"
symbol
))
((
and
(
symbolp
def
)
(
eq
'macro
(
car-safe
(
ignore-errors
(
indirect-function
def
)))))
(
let
((
newval
(
cons
'macro
(
cdr
(
indirect-function
def
)))))
...
...
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