[Utils] Using `dired-open-file' doesn't work for bookmarks
Pity!
This commit is contained in:
parent
c2addcd299
commit
485b7b84d3
3
init.el
3
init.el
|
@ -211,7 +211,7 @@
|
|||
(bind-key "C-x C-b" #'ibuffer)
|
||||
(bind-key "C-x g" #'db/helm-shortcuts)
|
||||
(bind-key "C-x SPC" #'hydra-rectangle/body)
|
||||
(bind-key "C-x r E" #'db/bookmark-add-dired-external)
|
||||
(bind-key "C-x r E" #'db/bookmark-add-external)
|
||||
(bind-key "C-x r M" #'db/bookmark-add-url)
|
||||
(bind-key "C-x r v" #'list-registers)
|
||||
(bind-key "C-x t" #'hydra-toggle/body)
|
||||
|
@ -561,7 +561,6 @@
|
|||
db/one-monitor-xrandr
|
||||
db/pretty-print-xml
|
||||
db/bookmark-add-external
|
||||
db/bookmard-add-dired-external
|
||||
db/bookmark-add-url
|
||||
db/lookup-smime-key
|
||||
db/org-onenote-open
|
||||
|
|
|
@ -523,11 +523,6 @@ it. The bookmarks will finally be sorted by their name."
|
|||
(interactive "sLocation: \nsName: ")
|
||||
(db/bookmark-add-with-handler name location #'db/system-open))
|
||||
|
||||
(defun db/bookmark-add-dired-external (location name)
|
||||
"Add NAME as bookmark to LOCATION that is opened by `dired-open-file'."
|
||||
(interactive "sLocation: \nsName: ")
|
||||
(db/bookmark-add-with-handler name location #'dired-open-file))
|
||||
|
||||
(defun db/bookmark-add-url (url name)
|
||||
"Add NAME as bookmark to URL that is opened by `browse-url’."
|
||||
(interactive "sURL: \nsName: ")
|
||||
|
|
Loading…
Reference in New Issue