[markdown] fix warning message for #14387
This commit is contained in:
parent
7e38f2e64e
commit
0220101c7f
1 changed files with 2 additions and 3 deletions
|
@ -73,9 +73,8 @@
|
|||
when (executable-find cmd)
|
||||
return (file-name-nondirectory it))))
|
||||
command
|
||||
(user-error (if markdown-executable
|
||||
(format "Cannot find markdown-executable %s" markdown-executable)
|
||||
"Please refer to the layer documentation and install a markdown command"))))
|
||||
(when markdown-executable
|
||||
(user-error (format "Cannot find markdown-executable %s" markdown-executable)))))
|
||||
|
||||
;; Declare prefixes and bind keys
|
||||
(dolist (prefix '(("mc" . "markdown/command")
|
||||
|
|
Reference in a new issue