summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus <rasmus@gmx.us>2015-04-16 15:35:53 (GMT)
committer Rasmus <rasmus@gmx.us>2015-04-16 17:41:26 (GMT)
commitd8494b5668ad4d4e68e83228ae8451eaa01d2220 (patch)
tree81b63b0207ef2b06c2c5a9666bffcf4ba2a58bef
parentb80ed6124f39ab6c15cd297bafe9268261f7e63f (diff)
downloadorg-mode-master.zip
org-mode-master.tar.gz
org.el: Respect read-file-name-functionHEADmaster
* org (org-iread-file-name): Respect read-file-name-function.
-rwxr-xr-xlisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 2c489ef..8a00847 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10471,7 +10471,7 @@ See `read-file-name' for a description of parameters."
(listp (second args)))
(let ((ido-enter-matching-directory nil))
(apply 'ido-read-file-name args))
- (apply 'read-file-name args))))
+ (apply (or read-file-name-function 'read-file-name) args))))
(defun org-completing-read (&rest args)
"Completing-read with SPACE being a normal character."