Skip to content

Commit c6bdb77

Browse files
committed
Respect to shortcuts list.
1 parent 8b2922a commit c6bdb77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dashboard-ls.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Use this variable when you don't have the `default-directory' up to date.")
6060
(push (concat dir "/") opt-dir-lst))
6161
(reverse opt-dir-lst))
6262
list-size
63-
"d"
63+
(dashboard-get-shortcut 'ls-directories)
6464
`(lambda (&rest ignore) (find-file-existing ,el))
6565
(abbreviate-file-name el)))
6666

@@ -79,7 +79,7 @@ Use this variable when you don't have the `default-directory' up to date.")
7979
(push file opt-file-lst))
8080
(reverse opt-file-lst))
8181
list-size
82-
"f"
82+
(dashboard-get-shortcut 'ls-files)
8383
`(lambda (&rest ignore) (find-file-existing ,el))
8484
(abbreviate-file-name el)))
8585

0 commit comments

Comments
 (0)