summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-08-04 11:02:49 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-08-04 11:03:10 +0200
commit4c1bc8315d8e677e4eeb2760d7a5ab7b7553359b (patch)
tree1e72d4fefc539c626f045511c12b238ff379533d /lisp/emacs-lisp
parentf025005e8619ab42b43dad5dd470dbbbcdc75041 (diff)
downloademacs-4c1bc8315d8e677e4eeb2760d7a5ab7b7553359b.tar.gz
emacs-4c1bc8315d8e677e4eeb2760d7a5ab7b7553359b.tar.bz2
emacs-4c1bc8315d8e677e4eeb2760d7a5ab7b7553359b.zip
Fix up some prefix registration problems in doc strings
* lisp/uniquify.el (uniquify-buffer-name-style): * lisp/org/ob-core.el (org-src-sha): * lisp/emacs-lisp/cl-macs.el (cl--optimize): * lisp/battery.el (battery-update-functions): Avoid triggering the `register-definition-prefixes' in doc strings (bug#56968).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/cl-macs.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 12917c99e10..eefaa36b911 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2563,9 +2563,9 @@ values. For compatibility, (cl-values A B C) is a synonym for (list A B C).
(defun cl--optimize (f _args &rest qualities)
"Serve `cl-optimize' in function declarations.
Example:
-(defun foo (x)
- (declare (cl-optimize (speed 3) (safety 0)))
- x)"
+ (defun foo (x)
+ (declare (cl-optimize (speed 3) (safety 0)))
+ x)"
;; FIXME this should make use of `cl--declare-stack' but I suspect
;; this mechanism should be reviewed first.
(cl-loop for (qly val) in qualities