mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
Fix docstring quoting problems with ‘ '’
Problem reported by Artur Malabarba in: http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html Most of these fixes are to documentation; many involve fixing longstanding quoting glitches that are independent of the recent substitute-command-keys changes. The changes to code are: * lisp/cedet/mode-local.el (mode-local-augment-function-help) (describe-mode-local-overload): Substitute docstrings before displaying them. * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Quote the generated docstring for later substitution.
This commit is contained in:
parent
abf673af29
commit
ac16149ba4
142 changed files with 432 additions and 430 deletions
|
|
@ -43,7 +43,7 @@
|
|||
(defun backquote-list*-function (first &rest list)
|
||||
"Like `list' but the last argument is the tail of the new list.
|
||||
|
||||
For example (backquote-list* 'a 'b 'c) => (a b . c)"
|
||||
For example (backquote-list* \\='a \\='b \\='c) => (a b . c)"
|
||||
;; The recursive solution is much nicer:
|
||||
;; (if list (cons first (apply 'backquote-list*-function list)) first))
|
||||
;; but Emacs is not very good at efficiently processing recursion.
|
||||
|
|
@ -60,7 +60,7 @@ For example (backquote-list* 'a 'b 'c) => (a b . c)"
|
|||
(defmacro backquote-list*-macro (first &rest list)
|
||||
"Like `list' but the last argument is the tail of the new list.
|
||||
|
||||
For example (backquote-list* 'a 'b 'c) => (a b . c)"
|
||||
For example (backquote-list* \\='a \\='b \\='c) => (a b . c)"
|
||||
;; The recursive solution is much nicer:
|
||||
;; (if list (list 'cons first (cons 'backquote-list*-macro list)) first))
|
||||
;; but Emacs is not very good at efficiently processing such things.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue