Skip to content

Commit

Permalink
update tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
jkitchin committed Jul 10, 2024
1 parent f1d4273 commit f2b4947
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions scimax-editmarks.org
Original file line number Diff line number Diff line change
Expand Up @@ -504,14 +504,17 @@ This editmark points to an audio file.

(defun sem-audio-tooltip (window object position)
"Tooltip for audio editmarks."

"Audio editmark. use M-o or s-mouse-1 to listen."
;; a2t is an executable script in scimax python
(if (executable-find "a2t")
(save-window-excursion
(goto-char position)
(shell-command-to-string
(format "a2t %s"
(plist-get (sem-editmark-plist) :file))))
"Audio editmark. use M-o or s-mouse-1 to listen."))
;; (if (executable-find "a2t")
;; (save-window-excursion
;; (goto-char position)
;; (shell-command-to-string
;; (format "a2t %s"
;; (plist-get (sem-editmark-plist) :file))))
;; "Audio editmark. use M-o or s-mouse-1 to listen.")
)


(defun sem-audio-insert ()
Expand Down

0 comments on commit f2b4947

Please sign in to comment.