emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-capture-expand-file: Invalid file location: nil


From: Xi Shen
Subject: [O] org-capture-expand-file: Invalid file location: nil
Date: Sat, 04 Nov 2017 11:23:51 +0000

Hi,

When I do C-c c, I got an error:

org-capture-expand-file: Invalid file location: nil

But (org-capture-expand-file "") returns the expected value. And the file does exist. But (org-capture-expand-file nil) raise an error. So I guess the function was given an erroneous value. 

My relevant settings are:

(org-capture-templates
   (quote
    (("t" "Task" entry
      (file+headline nil "Tasks")
      "* TODO %? %^g")
     ("q" "Quick note" entry
      (file+datetree nil)
      "* [%<%H:%M>] %?"))))

(setq org-default-notes-file (concat org-directory "/.notes"))

I did not change my configurations for a long time. Maybe some of them are outdated?


Thanks,
David


reply via email to

[Prev in Thread] Current Thread [Next in Thread]