summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-11-04 05:21:39 -0400
committerEli Zaretskii <eliz@gnu.org>2023-11-04 05:21:39 -0400
commit050086931afa090947d2c0730a8a6eb0f33a7dd9 (patch)
tree2dc3843ea84f11ac1a10057fdd1fd355c1ca23e9 /lisp/emacs-lisp
parenta201b334bec8a10b405fe9915525fb0a04393831 (diff)
parent196def4fa6411a32e26aa8e589a588f9cd0fbc95 (diff)
downloademacs-050086931afa090947d2c0730a8a6eb0f33a7dd9.tar.gz
emacs-050086931afa090947d2c0730a8a6eb0f33a7dd9.tar.bz2
emacs-050086931afa090947d2c0730a8a6eb0f33a7dd9.zip
Merge from origin/emacs-29
196def4fa64 Fix description of 'Package-Requires' library header c1778432790 ; * doc/misc/tramp.texi (FUSE setup): Fix typo. a64336cbb9c * lisp/emacs-lisp/cl-lib.el (cl--defalias): Improve&fix d... da8b85b577d Add two docstrings in cl-lib.el
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/cl-lib.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el
index 42ff3e105c0..779f25df572 100644
--- a/lisp/emacs-lisp/cl-lib.el
+++ b/lisp/emacs-lisp/cl-lib.el
@@ -157,6 +157,7 @@ to an element already in the list stored in PLACE.
`(cl-callf2 cl-adjoin ,x ,place ,@keys)))
(defun cl--set-buffer-substring (start end val)
+ "Delete region from START to END and insert VAL."
(save-excursion (delete-region start end)
(goto-char start)
(insert val)
@@ -194,6 +195,8 @@ to an element already in the list stored in PLACE.
;; the target form to return the values as a list.
(defun cl--defalias (cl-f el-f &optional doc)
+ "Define function CL-F as definition EL-F.
+Like `defalias' but marks the alias itself as inlinable."
(defalias cl-f el-f doc)
(put cl-f 'byte-optimizer 'byte-compile-inline-expand))