From ee1bf93520718285e25b7256c2e4818cfabfb74c Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Mon, 20 Dec 2021 13:42:08 +0100 Subject: [PATCH] Add a shortcut for opening the site in Firefox. --- work-notes.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/work-notes.org b/work-notes.org index 771b696..fea00f3 100644 --- a/work-notes.org +++ b/work-notes.org @@ -39,6 +39,12 @@ (org-publish-project "work-site" t) #+END_SRC + Evaluating this code block opens the exported site in the last + viewed Firefox window. + #+BEGIN_SRC elisp :results silent +(shell-command "firefox www/index.html") + #+END_SRC + * Forcing Org-mode to ignore the timestamps <2021-11-20> :old: Before today, I used to need to call #+BEGIN_SRC elisp :results silent