aboutsummaryrefslogtreecommitdiff
path: root/scripts/export-to-text.el
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/export-to-text.el')
-rw-r--r--scripts/export-to-text.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/export-to-text.el b/scripts/export-to-text.el
index debe18b..4280d21 100644
--- a/scripts/export-to-text.el
+++ b/scripts/export-to-text.el
@@ -1,8 +1,8 @@
(unless (= 2 (length argv))
(error "Usage: emacs --script scripts/export-to-text <source-file> <output-file>"))
-(let* ((source-filename (elt argv 0))
- (output-filename (elt argv 1))
+(let* ((source-filename (file-truename (elt argv 0)))
+ (output-filename (file-truename (elt argv 1)))
(source-buffer (find-file source-filename))
(output-buffer (find-file output-filename))
(text-buffer (get-buffer-create "*Org ASCII Export*"))