|
@@ -3307,7 +3307,7 @@ If AGENDA-BUFFER-NAME, use this as the buffer name for the agenda to write."
|
|
|
(interactive "FWrite agenda to file: \nP")
|
|
|
(if (or (not (file-writable-p file))
|
|
|
(and (file-exists-p file)
|
|
|
- (if (called-interactively-p 'any)
|
|
|
+ (if (org-called-interactively-p 'any)
|
|
|
(not (y-or-n-p (format "Overwrite existing file %s? " file))))))
|
|
|
(user-error "Cannot write agenda to file %s" file))
|
|
|
(org-let (if nosettings nil org-agenda-exporter-settings)
|