]> git.eshelyaron.com Git - emacs.git/commitdiff
(view-other-diary-entries): Use current-prefix-arg in interactive spec.
authorGlenn Morris <rgm@gnu.org>
Mon, 20 Dec 2004 18:09:22 +0000 (18:09 +0000)
committerGlenn Morris <rgm@gnu.org>
Mon, 20 Dec 2004 18:09:22 +0000 (18:09 +0000)
lisp/calendar/diary-lib.el

index 679c4b991b6b5dd9ef950629cbd42c5b9bced295..fdade091ab2e8ec7de7e8d1dce6b5b348521b822 100644 (file)
@@ -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)))