3 ms·
I replied a couple comments below w a fuller explanation but here's the relevant emacs functions, code only. (defun opyn (arg) "Open local file in Firefox" (i
by julianeon 3y ago
I replied a couple comments below w a fuller explanation but here's the relevant emacs functions, code only.
(defun opyn (arg)
"Open local file in Firefox" (interactive)
(let ((filearg (concat "file:///home/julian/Lang/Python/Something/" arg ".html")))
(shell-command (concat "chromium " filearg)))
(message "opened file") )
(defun refresh (arg)
"Rerun local file creation & open in Firefox" (interactive) (let ((filearg (concat "ruby project_refresh_emacs.rb " arg)))
(shell-command filearg)) (message "refreshed file for you")
)