about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-06-18T01·30-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-06-18T01·30-0400
commit857bb85e664bce4621eaee5be2ed6ac880978354 (patch)
treef1793c3f81716955871e3eefacdad280a065496b /emacs
parentc1b97b0a2b4cdfcaf8f60cf4f0324b0bf487f628 (diff)
Adds custom dired functions
Diffstat (limited to 'emacs')
-rw-r--r--emacs/wc-dired-functions.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/wc-dired-functions.lisp b/emacs/wc-dired-functions.lisp
new file mode 100644
index 000000000000..a6b446976c02
--- /dev/null
+++ b/emacs/wc-dired-functions.lisp
@@ -0,0 +1,4 @@
+(defun wc/dired-up-directory ()
+  "Moves up a directory in `dired' killing the previous `dired' buffer."
+  (interactive)
+  (find-alternate-file ".."))