From 9098d675b423e86a1f568b5a8376e8991152841c Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 27 Oct 2017 19:43:48 +0200 Subject: [PATCH] [Helm] Remove accidentally duplicated code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit How could this happen? Maybe I’m too tired already … --- site-lisp/db-utils.el | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/site-lisp/db-utils.el b/site-lisp/db-utils.el index ab994a2..344d361 100644 --- a/site-lisp/db-utils.el +++ b/site-lisp/db-utils.el @@ -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