diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-06-21 12:34:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-06-21 12:38:08 -0700 |
commit | 38bb9ff0f4b92836199d8b3a0ee3903428bb7851 (patch) | |
tree | 9bd50f9fc54b5996c8d5ef374b58a8f1538b399d /lisp/emacs-lisp | |
parent | 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6 (diff) | |
download | emacs-38bb9ff0f4b92836199d8b3a0ee3903428bb7851.tar.gz emacs-38bb9ff0f4b92836199d8b3a0ee3903428bb7851.tar.bz2 emacs-38bb9ff0f4b92836199d8b3a0ee3903428bb7851.zip |
Fix some “nested” quoting confusion in doc strings
* lisp/emacs-lisp/advice.el (ad-map-arglists):
* lisp/kermit.el (kermit-clean-on):
* lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
* src/keyboard.c (Frecursive_edit):
Use curved quotes when quoting text containing apostrophe,
so that the apostrophe isn't curved in the output.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/advice.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index 907f03bde45..1915d94e97b 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -2412,14 +2412,14 @@ The assignment starts at position INDEX." ;; The mapping should work for any two argument lists. (defun ad-map-arglists (source-arglist target-arglist) - "Make `funcall/apply' form to map SOURCE-ARGLIST to TARGET-ARGLIST. + "Make ‘funcall/apply’ form to map SOURCE-ARGLIST to TARGET-ARGLIST. The arguments supplied to TARGET-ARGLIST will be taken from SOURCE-ARGLIST just 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))'." +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))’." (let* ((parsed-source-arglist (ad-parse-arglist source-arglist)) (source-reqopt-args (append (nth 0 parsed-source-arglist) (nth 1 parsed-source-arglist))) |