1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-17 11:20:39 -08:00

; * lisp/eshell/em-unix.el (nil-blank-string): Doc fix

* lisp/eshell/em-unix.el (nil-blank-string): Fix doc string
(bug#50549).

Copyright-paperwork-exempt: yes
This commit is contained in:
Hanno Perrey 2021-09-12 17:22:25 +02:00 committed by Lars Ingebrigtsen
parent 914d4523c3
commit 8f3199788b

View file

@ -968,7 +968,7 @@ Show wall-clock time elapsed during execution of COMMAND.")
(set-window-configuration eshell-diff-window-config))) (set-window-configuration eshell-diff-window-config)))
(defun nil-blank-string (string) (defun nil-blank-string (string)
"Return STRING, or nil if STRING contains only non-blank characters." "Return STRING, or nil if STRING contains only blank characters."
(cond (cond
((string-match "[^[:blank:]]" string) string) ((string-match "[^[:blank:]]" string) string)
(nil))) (nil)))