about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/functions.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-14T13·53+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-20T10·26+0100
commit7e2dcc97cc98e22207c38026731b21472259dd18 (patch)
treec179f04198ae00f7da8e92d1fb59ce28b2bc86f5 /emacs/.emacs.d/wpc/functions.el
parent56b503c573317532ef250a47fb075fd699c35ead (diff)
Drop support for wpc/find-file
Cleaning things up...
Diffstat (limited to 'emacs/.emacs.d/wpc/functions.el')
-rw-r--r--emacs/.emacs.d/wpc/functions.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/emacs/.emacs.d/wpc/functions.el b/emacs/.emacs.d/wpc/functions.el
index 2ef82d54bbe1..d9f1a1e96017 100644
--- a/emacs/.emacs.d/wpc/functions.el
+++ b/emacs/.emacs.d/wpc/functions.el
@@ -23,14 +23,6 @@
   (call-interactively #'paredit-reindent-defun)
   (call-interactively #'clojure-align))
 
-(defun wpc/find-file ()
-  "Prefer project-based file-finding if inside of project; otherwise gracefully fallback."
-  (interactive)
-  (with-current-buffer (current-buffer)
-    (if (projectile-project-p)
-        (call-interactively #'counsel-projectile-find-file)
-      (call-interactively #'find-file))))
-
 (defun wpc/find-file-split (filename)
   "Creates a window split and then edits `filename'."
   (interactive)