diff options
author | Eli Zaretskii <eliz@gnu.org> | 2024-03-18 15:59:54 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-03-18 15:59:54 +0200 |
commit | ce29ae32d0b05cedbc9ba65c1a347ab7c34420ad (patch) | |
tree | f65ccbf7878def84839b99cc36ca79e214bb1073 /lisp | |
parent | 70ac815ece299007ff468c09632ef4d488e69be3 (diff) | |
download | emacs-ce29ae32d0b05cedbc9ba65c1a347ab7c34420ad.tar.gz emacs-ce29ae32d0b05cedbc9ba65c1a347ab7c34420ad.tar.bz2 emacs-ce29ae32d0b05cedbc9ba65c1a347ab7c34420ad.zip |
; * lisp/vc/vc-git.el (vc-git--out-str): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/emacs-lisp/shortdoc.el | 2 | ||||
-rw-r--r-- | lisp/vc/vc-git.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index cbb5618ffce..a1e49b50510 100644 --- a/lisp/emacs-lisp/shortdoc.el +++ b/lisp/emacs-lisp/shortdoc.el @@ -1781,7 +1781,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)) diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 0d54e234659..b23a5ca95a1 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -2240,7 +2240,7 @@ Return whether the process exited with status zero." (zerop (apply #'vc-git--call '(t nil) command args))) (defun vc-git--out-str (command &rest args) - "Run `git COMMAND ARGS...' and return standard output. + "Run `git COMMAND ARGS...' and return standard output as a string. The exit status is ignored." (with-output-to-string (with-current-buffer standard-output |