Created
January 27, 2012 14:36
-
-
Save lewang/1689071 to your computer and use it in GitHub Desktop.
org-mode patch for better C-u C-c C-w completion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lisp/org.el b/lisp/org.el | |
index 7a68b73..ccdcace 100644 | |
--- a/lisp/org.el | |
+++ b/lisp/org.el | |
@@ -10625,7 +10625,8 @@ prefix argument (`C-u C-u C-u C-c C-w')." | |
(t (concat "Refile subtree \"" | |
heading-text "\" to"))) | |
default-buffer | |
- org-refile-allow-creating-parent-nodes | |
+ (and (not (equal '(4) goto)) | |
+ org-refile-allow-creating-parent-nodes) | |
goto)))))) | |
(setq file (nth 1 it) | |
re (nth 2 it) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment