Skip to content

Commit

Permalink
Merge pull request #6 from DamienCassou/elispf-string-command
Browse files Browse the repository at this point in the history
Make it possible to pass a string to elispf command name
  • Loading branch information
tralph3 authored Aug 25, 2024
2 parents ed937d7 + 083def2 commit 219ba1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conner.el
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,8 @@ The command is interpreted by bash."
"Run the command PLIST as an Emacs Lisp function.
The function takes no arguments."
(let ((command (plist-get plist :command)))
(let* ((command (plist-get plist :command))
(command (if (stringp command) (intern command) command)))
(funcall command)))

(defun conner--run-meta-command (plist root-dir)
Expand Down

0 comments on commit 219ba1d

Please sign in to comment.