[Helm] Remove accidentally duplicated code

How could this happen?  Maybe I’m too tired already …
This commit is contained in:
Daniel - 2017-10-27 19:43:48 +02:00
parent 874e66d9d4
commit 9098d675b4
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 3 additions and 11 deletions

View File

@ -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