[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(interactive) arguments
From: |
Jean-Christophe Helary |
Subject: |
(interactive) arguments |
Date: |
Tue, 31 Dec 2019 12:50:58 +0900 |
I'm looking for a way to add a default value to interactive by just using the
"string" version:
(defun dailyTest (myDate)
(interactive "ntoday: ")
I can do that with the "list" version:
(defun dailyIndex (myDate)
(interactive (list
(read-string "Date: " (format-time-string "%d")))))
Is that possible ?
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- (interactive) arguments,
Jean-Christophe Helary <=