General minor refactor & comment updates
This commit is contained in:
parent
ddadb79952
commit
f2c02e32c8
3 changed files with 29 additions and 30 deletions
|
@ -75,8 +75,7 @@ kills the buffer. If FORCE-P, force the deletion (don't ask for confirmation)."
|
|||
((not (or force-p (y-or-n-p (format "Really delete %s?" fbase))))
|
||||
(message "Aborted")
|
||||
nil)
|
||||
(t
|
||||
(unwind-protect
|
||||
((unwind-protect
|
||||
(progn (delete-file path) t)
|
||||
(let ((short-path (file-relative-name path (doom-project-root))))
|
||||
(if (file-exists-p path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue