Show loaded project when making a note
This commit is contained in:
parent
84b65d4e3b
commit
6a8d1ea37b
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@
|
||||||
" :DIRECTORY: =" default-directory "=\n"
|
" :DIRECTORY: =" default-directory "=\n"
|
||||||
(when (buffer-file-name) " :FILE: [[file:%F][%F]]\n")
|
(when (buffer-file-name) " :FILE: [[file:%F][%F]]\n")
|
||||||
(when (org-clocking-p) " :TASK: %K\n")
|
(when (org-clocking-p) " :TASK: %K\n")
|
||||||
|
(when desktop-dirname
|
||||||
|
(concat " :PROJECT: "
|
||||||
|
(file-name-base (directory-file-name desktop-dirname))))
|
||||||
"\n %?"))
|
"\n %?"))
|
||||||
|
|
||||||
(defun oni:org-maybe-outline-path ()
|
(defun oni:org-maybe-outline-path ()
|
||||||
|
|
Loading…
Reference in a new issue