[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Fix: allow org-refile in goto mode from everywhere
From: |
Markus Hauck |
Subject: |
[O] [PATCH] Fix: allow org-refile in goto mode from everywhere |
Date: |
Mon, 07 Apr 2014 19:51:05 +0200 |
User-agent: |
mu4e 0.9.9.6pre2; emacs 24.4.50.2 |
It seems like org-refile with the goto argument is no longer allowed
From non org-mode buffers. In commit 49da67d the condition was changed
from:
(unless goto ...)
to:
(unless (and goto (listp goto)) ...)
where the condition of unless is only true for non-empty lists. IMO the
condition has to be:
(unless (or goto (listp goto)) ...)
(replace and with or) due to the `unless`, so that either t or '(.....)
is checked.
This patch allows org-refile with the goto flag from outside org-buffers
(again).
Patch is attached.
Best,
Markus
0001-org.el-org-refile-Allow-org-refile-goto-from-everywh.patch
Description: allow org-refile from everywhere
signature.asc
Description: PGP signature
- [O] [PATCH] Fix: allow org-refile in goto mode from everywhere,
Markus Hauck <=