Browse Source

Access notes file anyway if in project, thus creating it if in a new project.

master
Maxime Wack 3 years ago
parent
commit
0541c65e64
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      projectorg.el

+ 1
- 2
projectorg.el View File

@@ -71,9 +71,8 @@ It is an org file, with the same name as the project (including subdirectories),
"Go to the projects' notes file if it exists in the *org* directory, or go to default notes file."
(interactive)
(let ((notes-file (projectorg/notes-file)))
(if (or (and (eq projectile-require-project-root 'prompt)
(if (and (eq projectile-require-project-root 'prompt)
(not (projectile-project-p)))
(not (file-exists-p notes-file)))
(projectorg/go-to-inbox)
(find-file-other-window notes-file))))



Loading…
Cancel
Save