commander.el icon indicating copy to clipboard operation
commander.el copied to clipboard

Do not require file to be present

Open rejeep opened this issue 11 years ago • 0 comments

Evaling this:

(progn
  (require 'commander)
(defun foo ()
  (print "foo"))
(commander
 (command "foo" foo))
(commander-print-usage))

Will result in: f-filename: Wrong type argument: stringp, nil.

This is because the usage information is based on filename if the name directive is not used.

rejeep avatar May 07 '14 10:05 rejeep