From b56dfa402f7a2d8915821c422d8ff1177a44d800 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 14 Oct 2023 23:47:14 -0400 Subject: find wiki page in other window --- emacsconf.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/emacsconf.el b/emacsconf.el index c873254..eb945b5 100644 --- a/emacsconf.el +++ b/emacsconf.el @@ -296,9 +296,10 @@ FILENAME specifies an extra string to add to the file prefix if needed." (interactive (list (emacsconf-complete-talk))) (setq search (if (stringp search) (emacsconf-get-slug-from-string search) (plist-get search :slug))) - (find-file (expand-file-name - (concat search ".md") - (expand-file-name "talks" (expand-file-name emacsconf-year emacsconf-directory))))) + (find-file-other-window + (expand-file-name + (concat search ".md") + (expand-file-name "talks" (expand-file-name emacsconf-year emacsconf-directory))))) (defun emacsconf-find-caption-directives-from-slug (search) (interactive (list (emacsconf-complete-talk))) -- cgit v1.2.3