aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calendar
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2004-12-20 18:09:22 +0000
committerGlenn Morris <[email protected]>2004-12-20 18:09:22 +0000
commit3b554221139bc71cf608fa56212ec99a971c1c3d (patch)
treef828412e59e15f0705aba674303153b1b90add25 /lisp/calendar
parent8f449c3afd596c3564eeb9f96e29c406163020d5 (diff)
(view-other-diary-entries): Use current-prefix-arg in interactive spec.
Diffstat (limited to 'lisp/calendar')
-rw-r--r--lisp/calendar/diary-lib.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el
index 679c4b991b..fdade091ab 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)))