aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/advice.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el
index afb2c419778..86dde119594 100644
--- a/lisp/emacs-lisp/advice.el
+++ b/lisp/emacs-lisp/advice.el
@@ -1849,7 +1849,8 @@ old original, or keep it and raise an error. The values `accept', `discard',
1849`error' or `warn' govern what will be done. `warn' is just like `accept' but 1849`error' or `warn' govern what will be done. `warn' is just like `accept' but
1850it additionally prints a warning message. All other values will be 1850it additionally prints a warning message. All other values will be
1851interpreted as `error'." 1851interpreted as `error'."
1852 :type '(choice (const accept) (const discard) (const error) (const warn)) 1852 :type '(choice (const accept) (const discard) (const warn)
1853 (other :tag "error" error))
1853 :group 'advice) 1854 :group 'advice)
1854 1855
1855;;;###autoload 1856;;;###autoload
@@ -1861,8 +1862,8 @@ loaded, and `like-original' will compile if the original definition of the
1861advised function is compiled or a built-in function. Every other value will 1862advised function is compiled or a built-in function. Every other value will
1862be interpreted as `maybe'. This variable will only be considered if the 1863be interpreted as `maybe'. This variable will only be considered if the
1863COMPILE argument of `ad-activate' was supplied as nil." 1864COMPILE argument of `ad-activate' was supplied as nil."
1864 :type '(choice (const always) (const never) (const maybe) 1865 :type '(choice (const always) (const never) (const like-original)
1865 (const like-original)) 1866 (other :tag "maybe" maybe))
1866 :group 'advice) 1867 :group 'advice)
1867 1868
1868 1869