[Helm] Remove accidentally duplicated code
How could this happen? Maybe I’m too tired already …
This commit is contained in:
parent
874e66d9d4
commit
9098d675b4
|
@ -312,16 +312,6 @@ If FILE is not given, prompt for one."
|
|||
:group 'personal-settings
|
||||
:type '(alist :key-type symbol :value-type sexp))
|
||||
|
||||
(defun db/helm-shortcuts ()
|
||||
"Open helm completion on common locations."
|
||||
(interactive)
|
||||
(require 'helm-files)
|
||||
(helm :sources '(db/helm-frequently-used-features
|
||||
db/helm-frequently-visited-locations
|
||||
db/helm-important-documents
|
||||
helm-source-bookmarks
|
||||
helm-source-bookmark-set)))
|
||||
|
||||
(defun db/helm-shortcuts ()
|
||||
"Open helm completion on common locations."
|
||||
(interactive)
|
||||
|
@ -329,7 +319,9 @@ If FILE is not given, prompt for one."
|
|||
(helm :sources `(db/helm-frequently-used-features
|
||||
db/helm-frequently-visited-locations
|
||||
,(when (file-directory-p db/important-documents-path)
|
||||
'db/helm-important-documents))))
|
||||
'db/helm-important-documents)
|
||||
helm-source-bookmarks
|
||||
helm-source-bookmark-set)))
|
||||
|
||||
|
||||
;;; Other Utilities
|
||||
|
|
Loading…
Reference in New Issue