Compare commits

...

3 Commits

Author SHA1 Message Date
e50bae5c6b
Disable incomplete org-refile-get-location override for now
A better implementation is needed that accomodates for `org-refile-target-verify-function`.
2025-08-17 20:11:19 +02:00
251ee5ad28
Remove now unnecessary autoload 2025-08-17 20:09:11 +02:00
cab71bf815
Remove obsolete configuration for org-goto 2025-08-17 20:09:02 +02:00

14
init.el
View File

@ -728,14 +728,12 @@ split horizontally again, but this extra work should not matter much."
db/org-bookmark-store-link db/org-bookmark-store-link
db/org-bookmark-export db/org-bookmark-export
db/org-lint-invalid-bookmark-link db/org-lint-invalid-bookmark-link
db/org-lint-possible-bookmark-link db/org-lint-possible-bookmark-link))
db/org-get-location))
;; This is to make the byte-compiler happy about setting some variables later on ;; This is to make the byte-compiler happy about setting some variables later on
;; that are defined in those packages. ;; that are defined in those packages.
(use-package org-attach) (use-package org-attach)
(use-package org-id) (use-package org-id)
(use-package org-goto)
(use-package org (use-package org
:pin "gnu" :pin "gnu"
@ -781,7 +779,6 @@ split horizontally again, but this extra work should not matter much."
org-attach-store-link-p 'attached org-attach-store-link-p 'attached
org-attach-auto-tag nil org-attach-auto-tag nil
org-bookmark-names-plist nil org-bookmark-names-plist nil
org-goto-interface 'outline-path-completion
org-id-link-to-org-use-id t org-id-link-to-org-use-id t
org-return-follows-link t org-return-follows-link t
org-hide-emphasis-markers t org-hide-emphasis-markers t
@ -950,14 +947,7 @@ split horizontally again, but this extra work should not matter much."
(org-agenda-redo-all)) (org-agenda-redo-all))
;; Inhibit direct input when point is at the beginning of a headline. ;; Inhibit direct input when point is at the beginning of a headline.
(add-to-list 'org-speed-command-hook 'db/org-ignore-insert-on-headline-start) (add-to-list 'org-speed-command-hook 'db/org-ignore-insert-on-headline-start)))
;; Use consult for querying refile targets
(define-advice org-refile-get-location (:around
(orig-func &optional prompt default-buffer new-nodes)
use-consult-instead)
(ignore orig-func)
(db/org-refile-get-location prompt default-buffer new-nodes))))
(use-package org-cycle (use-package org-cycle
:autoload (org-cycle-hide-drawers) :autoload (org-cycle-hide-drawers)