aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/projectile.el b/projectile.el
index eae6b32..8fccc9b 100644
--- a/projectile.el
+++ b/projectile.el
@@ -6268,9 +6268,8 @@ If the current buffer does not belong to a project, call `previous-buffer'."
(let ((file (expand-file-name ".dir-locals.el" (projectile-acquire-root))))
(find-file file)
(when (not (file-exists-p file))
- (unwind-protect
- (projectile-skel-dir-locals)
- (save-buffer)))))
+ (projectile-skel-dir-locals)
+ (save-buffer))))
;;; Projectile Minor mode