Merge from origin/emacs-29

196def4fa6 Fix description of 'Package-Requires' library header
c177843279 ; * doc/misc/tramp.texi (FUSE setup): Fix typo.
a64336cbb9 * lisp/emacs-lisp/cl-lib.el (cl--defalias): Improve&fix d...
da8b85b577 Add two docstrings in cl-lib.el
This commit is contained in:
Eli Zaretskii 2023-11-04 05:21:39 -04:00
commit 050086931a
3 changed files with 19 additions and 1 deletions

View file

@ -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))