Ensure `org-password-manager` is loaded when loading password by ID
Otherwise, `org-password-manager-default-password-wait-time` may be undefined during runtime.
This commit is contained in:
parent
c085dda842
commit
badbb85da0
|
@ -1001,6 +1001,7 @@ cache if that's in use."
|
||||||
|
|
||||||
The password is assumed to be stored at the PASSWORD property."
|
The password is assumed to be stored at the PASSWORD property."
|
||||||
|
|
||||||
|
(require 'org-password-manager)
|
||||||
(let ((pom (org-id-find id 'marker)))
|
(let ((pom (org-id-find id 'marker)))
|
||||||
(unless (markerp pom)
|
(unless (markerp pom)
|
||||||
(user-error "Cannot find item with id %s" id))
|
(user-error "Cannot find item with id %s" id))
|
||||||
|
|
Loading…
Reference in New Issue