Get rid of last byte compiler warnings in Org configuration

This commit is contained in:
Daniel - 2023-11-03 17:24:14 +01:00
parent f14a5b6237
commit 593a2ab9df
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 8 additions and 4 deletions

12
init.el
View File

@ -545,6 +545,12 @@
db/org-clock-goto-first-open-checkbox
org-password-manager-get-password-by-id))
;; This is to make the byte-compiler happy about setting some variables later on
;; that are defined in those packages.
(use-package org-attach)
(use-package org-id)
(use-package org-goto)
(use-package org
:pin "gnu"
:bind (:map org-mode-map
@ -586,6 +592,7 @@
org-attach-auto-tag nil
org-bookmark-names-plist nil
org-goto-interface 'outline-path-completion
org-id-link-to-org-use-id t
org-blank-before-new-entry '((heading . t)
(plain-list-item . t))
@ -758,7 +765,7 @@
;; bound, resulting in some prior calls of `org-read-date' to ignore
;; the hh:mm part. So let's bind this variable now to make things
;; work.
(setq org-time-was-given nil)))
(defvar org-time-was-given nil)))
;; Drag-and-Drop images into org-mode buffer
(use-package org-download
@ -836,9 +843,6 @@
(format "Day of Death: [[bbdb:%s][%s (%s%s)]]"
name name years suffix)))))
(use-package org-id
:init (setq org-id-link-to-org-use-id t))
(use-package org-clock
:commands (org-clock-save)
:init (progn