Fix %:p and comment
This commit is contained in:
parent
9bda8c3112
commit
d78e28d85c
1 changed files with 2 additions and 2 deletions
|
@ -171,9 +171,9 @@
|
||||||
(setq file-name
|
(setq file-name
|
||||||
;; %:p:h => the project root (or current directory otherwise)
|
;; %:p:h => the project root (or current directory otherwise)
|
||||||
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:p\\)"
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:p\\)"
|
||||||
(projectile-project-root) file-name t t 2))
|
(narf/project-root) file-name t t 2))
|
||||||
(setq file-name
|
(setq file-name
|
||||||
;; %:p => the project root (or current directory otherwise)
|
;; %:p => the current directory
|
||||||
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:d\\)"
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:d\\)"
|
||||||
default-directory file-name t t 2))
|
default-directory file-name t t 2))
|
||||||
(when current-fname
|
(when current-fname
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue