Skip to content

Commit 4363d7b

Browse files
committed
fix(run/command): Allow no documentation for the command
1 parent cc8b1c3 commit 4363d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/run/command.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
(defun eask--command-desc (name)
2323
"Return command's description by its command's NAME."
24-
(car (split-string (documentation name) "\n")))
24+
(car (split-string (or (documentation name) "") "\n")))
2525

2626
(defun eask--print-commands ()
2727
"Print all available commands."

0 commit comments

Comments
 (0)