summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Maus <dmaus@ictsoc.de>2010-06-29 00:44:56 +0000
committerCarsten Dominik <carsten.dominik@gmail.com>2010-06-29 06:39:45 +0200
commit2510d02be92c370ff193af29c89f60249de2aae6 (patch)
tree8d3404ed82b383106c633dddf412e906bb1a110e
parent6c2584c968c9733f6213fc6eaae220781befa5fd (diff)
downloadorg-mode-2510d02be92c370ff193af29c89f60249de2aae6.tar.gz
Add customization option to open WL links in other frame.
* org.el (org-link-frame-setup): Add customization option for Wanderlust.
-rw-r--r--lisp/org.el12
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.