mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-02-05 21:26:18 +00:00
org-crypt.el: only send a warning when Emacs is not running in daemon mode.
This commit is contained in:
parent
59ad74f047
commit
0b8852b5c1
@ -209,7 +209,7 @@ This setting can also be overridden in the CRYPTKEY property."
|
||||
;; 'org-mode-hook
|
||||
;; (lambda () (add-hook 'auto-save-hook 'org-encrypt-entries nil t))))
|
||||
|
||||
(when auto-save-default
|
||||
(when (and (not (daemonp)) auto-save-default)
|
||||
(message "Warning: turn auto-save-mode off in Org buffers containing crypted entries.")
|
||||
(sit-for 5))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user