summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-10-14 23:47:14 -0400
committerSacha Chua <sacha@sachachua.com>2023-10-14 23:47:14 -0400
commitb56dfa402f7a2d8915821c422d8ff1177a44d800 (patch)
tree1e948bcf92b45db0cc229ac8cf3656b0bcd323ab
parent682d4346f3b084004604d438617544332d9c72e1 (diff)
downloademacsconf-el-b56dfa402f7a2d8915821c422d8ff1177a44d800.tar.xz
emacsconf-el-b56dfa402f7a2d8915821c422d8ff1177a44d800.zip
find wiki page in other window
-rw-r--r--emacsconf.el7
1 files 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)))