projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5901f3
)
Fix 'shortdoc-copy-function-as-kill'
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 16 Mar 2024 11:07:52 +0000
(13:07 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 16 Mar 2024 11:07:52 +0000
(13:07 +0200)
* lisp/emacs-lisp/shortdoc.el (shortdoc-copy-function-as-kill):
Fix handling of functions with no arguments. (Bug#69720)
lisp/emacs-lisp/shortdoc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/shortdoc.el
b/lisp/emacs-lisp/shortdoc.el
index 75ac7b3d52c947918d6325c5cf3a2d7a9ce07c05..fdba6d324184e6f644fa0dbf46f73ee00e756786 100644
(file)
--- a/
lisp/emacs-lisp/shortdoc.el
+++ b/
lisp/emacs-lisp/shortdoc.el
@@
-1675,7
+1675,7
@@
With prefix numeric argument ARG, do it that many times."
(interactive)
(save-excursion
(goto-char (pos-bol))
- (when-let* ((re (rx bol "(" (group (+ (not (in " "))))))
+ (when-let* ((re (rx bol "(" (group (+ (not (in "
)
"))))))
(string
(and (or (looking-at re)
(re-search-backward re nil t))