diff options
author | Yuuki Harano <masm+github@masm11.me> | 2020-12-21 01:53:07 +0900 |
---|---|---|
committer | Yuuki Harano <masm+github@masm11.me> | 2020-12-21 01:53:07 +0900 |
commit | 565d8f57d349c19d9bbb5d5d5fdacf3c70b85d42 (patch) | |
tree | 5a25406b9f4ff091cb6856e857d2857bb3e631e4 /lisp/emacs-lisp/advice.el | |
parent | a44cd7c88121bb0e04bdf13d73e15f085cf3b085 (diff) | |
parent | 87b82a1969edf80d3bd4781454ec9fc968773a6d (diff) | |
download | emacs-565d8f57d349c19d9bbb5d5d5fdacf3c70b85d42.tar.gz emacs-565d8f57d349c19d9bbb5d5d5fdacf3c70b85d42.tar.bz2 emacs-565d8f57d349c19d9bbb5d5d5fdacf3c70b85d42.zip |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'lisp/emacs-lisp/advice.el')
-rw-r--r-- | lisp/emacs-lisp/advice.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index c8a6676b665..caa436ce234 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -2405,8 +2405,9 @@ as if they had been supplied to a function with TARGET-ARGLIST directly. Excess source arguments will be neglected, missing source arguments will be supplied as nil. Returns a `funcall' or `apply' form with the second element being `function' which has to be replaced by an actual function argument. -Example: (ad-map-arglists \\='(a &rest args) \\='(w x y z)) will return - (funcall ad--addoit-function a (car args) (car (cdr args)) (nth 2 args))." +Example: + (ad-map-arglists \\='(a &rest args) \\='(w x y z)) will return + (funcall ad--addoit-function a (car args) (car (cdr args)) (nth 2 args))." (let* ((parsed-source-arglist (ad-parse-arglist source-arglist)) (source-reqopt-args (append (nth 0 parsed-source-arglist) (nth 1 parsed-source-arglist))) |