summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-10-05 21:34:32 -0400
committerKyle Meyer <kyle@kyleam.com>2017-10-05 21:34:32 -0400
commitbfa4630ae4ba348d036ab5fdd9c88c0c28a0a5a8 (patch)
tree06e8e7f9b1a9e883ff9b8c78f270d08c6f76fe00 /lisp
parent30a4cdb0701942ee0cc8aff4f8f7f78dd658e2d6 (diff)
downloademacs.d-bfa4630ae4ba348d036ab5fdd9c88c0c28a0a5a8.tar.gz
dired: Add beginning-of-buffer variant
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-dired.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/km-dired.el b/lisp/km-dired.el
index 00e0163..9062c61 100644
--- a/lisp/km-dired.el
+++ b/lisp/km-dired.el
@@ -93,6 +93,12 @@
"%Y%m%d%H%M.%S"
(nth 5 (file-attributes it)))))))
+;;;###autoload
+(defun km/dired-beginning-of-buffer ()
+ (interactive)
+ (beginning-of-buffer)
+ (dired-next-line 1))
+
;;; Copying file names