changeset 59043:5ddb0b71254b

(view-other-diary-entries): Use current-prefix-arg in interactive spec.
author Glenn Morris <rgm@gnu.org>
date Mon, 20 Dec 2004 18:09:22 +0000
parents aebe7bad4263
children 9dadbbe9a381
files lisp/calendar/diary-lib.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/diary-lib.el	Mon Dec 20 18:08:52 2004 +0000
+++ b/lisp/calendar/diary-lib.el	Mon Dec 20 18:09:22 2004 +0000
@@ -80,7 +80,7 @@
 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)))