diff --git a/lisp/org.el b/lisp/org.el index bc0ea24be..c2a37e6cd 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15362,7 +15362,7 @@ The value is a list, with zero or more of the symbols `effort', `appt', "Save all Org buffers without user confirmation." (interactive) (message "Saving all Org buffers...") - (save-some-buffers t (lambda () (derived-mode-p 'org-mode))) + (save-some-buffers t (lambda () (and (derived-mode-p 'org-mode) t))) (when (featurep 'org-id) (org-id-locations-save)) (message "Saving all Org buffers... done"))