about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
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 ".."))