diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 679c4b991b6b5dd9ef950629cbd42c5b9bced295..fdade091ab2e8ec7de7e8d1dce6b5b348521b822 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el @@ -80,7 +80,7 @@ Searches for entries that match ARG days, starting with the date indicated by the cursor position in the displayed three-month calendar. D-FILE specifies the file to use as the diary file." (interactive - (list (if arg (prefix-numeric-value arg) 1) + (list (prefix-numeric-value current-prefix-arg) (read-file-name "Enter diary file name: " default-directory nil t))) (let ((diary-file d-file)) (view-diary-entries arg)))