Skip to content

Commit

Permalink
Make view opening more robust by requiring action-view
Browse files Browse the repository at this point in the history
  • Loading branch information
motform committed Apr 23, 2021
1 parent cdc94ba commit b42f1cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reveal-remote-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

;; Author: Love Lagerkvist
;; URL: https://github.com/motform/reveal-remote-mode
;; Version: 210309
;; Version: 210423
;; Package-Requires: ((emacs "25.1") (clojure-mode "5.9") (cider "0.24.0"))
;; Created: 2021-03-08
;; Keywords: tools convenience clojure cider
Expand Down Expand Up @@ -115,7 +115,7 @@ which means that any unknown symbols will result in compile errors."
(let ((action (reveal-remote--alist-completing-read reveal-remote-views "Select view: ")))
(reveal-remote--eval-command
"open-view"
(format "{:fx/type vlaaad.reveal.ext/action-view
(format "{:fx/type @(requiring-resolve 'vlaaad.reveal.ext/action-view)
:action %s
:value %s}"
action
Expand Down

0 comments on commit b42f1cf

Please sign in to comment.