From b5d7b57b27b193454d8f62496cca0ec637daac3b Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 27 Jun 2020 10:10:59 +0200 Subject: [PATCH] Use `autoload instead' of `declare-function' --- site-lisp/db-hydras.el | 2 +- site-lisp/db-org.el | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/site-lisp/db-hydras.el b/site-lisp/db-hydras.el index 9c73b35..017d3da 100644 --- a/site-lisp/db-hydras.el +++ b/site-lisp/db-hydras.el @@ -4,7 +4,7 @@ ;;; Code: -(declare-function rectangle-exchange-point-and-mark "rect") +(autoload 'rectangle-exchange-point-and-mark "rect") (require 'hydra) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index 07b8289..407649b 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -14,8 +14,10 @@ (require 'hydra) (require 'db-customize) -(declare-function counsel-org-goto-all "counsel") -(declare-function which-function "which-func") +(autoload 'counsel-org-goto-all "counsel") +(autoload 'which-function "which-func") +(autoload 'org-element-property "org-element") + (declare-function w32-shell-execute "w32fns.c")