emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [PATCH] Add customization option to open WL links in other fra


From: David Maus
Subject: [Orgmode] [PATCH] Add customization option to open WL links in other frame.
Date: Mon, 28 Jun 2010 21:44:56 +0200

* org.el (org-link-frame-setup): Add customization option for
  Wanderlust.
---
 lisp/org.el |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 1029fa1..a079179 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1387,7 +1387,8 @@ Changing this requires a restart of Emacs to work 
correctly."
 (defcustom org-link-frame-setup
   '((vm . vm-visit-folder-other-frame)
     (gnus . gnus-other-frame)
-    (file . find-file-other-window))
+    (file . find-file-other-window)
+    (wl . wl-other-frame))
   "Setup the frame configuration for following links.
 When following a link with Emacs, it may often be useful to display
 this link in another window or frame.  This variable can be used to
@@ -1403,6 +1404,9 @@ For FILE, use any of
     `find-file'
     `find-file-other-window'
     `find-file-other-frame'
+For Wanderlust use any of
+    `wl'
+    `wl-other-frame'
 For the calendar, use the variable `calendar-setup'.
 For BBDB, it is currently only possible to display the matches in
 another window."
@@ -1422,7 +1426,11 @@ another window."
                (choice
                 (const find-file)
                 (const find-file-other-window)
-                (const find-file-other-frame)))))
+                (const find-file-other-frame)))
+         (cons (const wl)
+               (choice
+                (const wl)
+                (const wl-other-frame)))))
 
 (defcustom org-display-internal-link-with-indirect-buffer nil
   "Non-nil means use indirect buffer to display infile links.
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]