aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2008-03-08 03:41:34 +0000
committerGlenn Morris2008-03-08 03:41:34 +0000
commitc645b7bb0d76d236fa8e9b2517fcee59900396c3 (patch)
tree245817cedac73acf0b33b6e32809ae7e7378cd2f /lisp
parent86cef613a3db8693e21ea0275d8f5551de8f1e1a (diff)
downloademacs-c645b7bb0d76d236fa8e9b2517fcee59900396c3.tar.gz
emacs-c645b7bb0d76d236fa8e9b2517fcee59900396c3.zip
Unquote lambda functions.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/calendar/cal-hebrew.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/calendar/cal-hebrew.el b/lisp/calendar/cal-hebrew.el
index a991b965650..33e451bc1ed 100644
--- a/lisp/calendar/cal-hebrew.el
+++ b/lisp/calendar/cal-hebrew.el
@@ -227,7 +227,7 @@ Driven by the variable `calendar-date-display-form'."
227 (let* ((today (calendar-current-date)) 227 (let* ((today (calendar-current-date))
228 (year (calendar-read 228 (year (calendar-read
229 "Hebrew calendar year (>3760): " 229 "Hebrew calendar year (>3760): "
230 '(lambda (x) (> x 3760)) 230 (lambda (x) (> x 3760))
231 (int-to-string 231 (int-to-string
232 (extract-calendar-year 232 (extract-calendar-year
233 (calendar-hebrew-from-absolute 233 (calendar-hebrew-from-absolute
@@ -241,7 +241,7 @@ Driven by the variable `calendar-date-display-form'."
241 "Hebrew calendar month name: " 241 "Hebrew calendar month name: "
242 (mapcar 'list (append month-array nil)) 242 (mapcar 'list (append month-array nil))
243 (if (= year 3761) 243 (if (= year 3761)
244 '(lambda (x) 244 (lambda (x)
245 (let ((m (cdr 245 (let ((m (cdr
246 (assoc-string 246 (assoc-string
247 (car x) 247 (car x)
@@ -261,7 +261,7 @@ Driven by the variable `calendar-date-display-form'."
261 (day (calendar-read 261 (day (calendar-read
262 (format "Hebrew calendar day (%d-%d): " 262 (format "Hebrew calendar day (%d-%d): "
263 first last) 263 first last)
264 '(lambda (x) (and (<= first x) (<= x last)))))) 264 (lambda (x) (and (<= first x) (<= x last))))))
265 (list (list month day year)))) 265 (list (list month day year))))
266 (calendar-goto-date (calendar-gregorian-from-absolute 266 (calendar-goto-date (calendar-gregorian-from-absolute
267 (calendar-absolute-from-hebrew date))) 267 (calendar-absolute-from-hebrew date)))
@@ -848,7 +848,7 @@ from the cursor position."
848 (let* ((today (calendar-current-date)) 848 (let* ((today (calendar-current-date))
849 (year (calendar-read 849 (year (calendar-read
850 "Year of death (>0): " 850 "Year of death (>0): "
851 '(lambda (x) (> x 0)) 851 (lambda (x) (> x 0))
852 (int-to-string (extract-calendar-year today)))) 852 (int-to-string (extract-calendar-year today))))
853 (month-array calendar-month-name-array) 853 (month-array calendar-month-name-array)
854 (completion-ignore-case t) 854 (completion-ignore-case t)
@@ -861,18 +861,18 @@ from the cursor position."
861 (last (calendar-last-day-of-month month year)) 861 (last (calendar-last-day-of-month month year))
862 (day (calendar-read 862 (day (calendar-read
863 (format "Day of death (1-%d): " last) 863 (format "Day of death (1-%d): " last)
864 '(lambda (x) (and (< 0 x) (<= x last)))))) 864 (lambda (x) (and (< 0 x) (<= x last))))))
865 (list month day year)))) 865 (list month day year))))
866 (death-year (extract-calendar-year death-date)) 866 (death-year (extract-calendar-year death-date))
867 (start-year (calendar-read 867 (start-year (calendar-read
868 (format "Starting year of Yahrzeit table (>%d): " 868 (format "Starting year of Yahrzeit table (>%d): "
869 death-year) 869 death-year)
870 '(lambda (x) (> x death-year)) 870 (lambda (x) (> x death-year))
871 (int-to-string (1+ death-year)))) 871 (int-to-string (1+ death-year))))
872 (end-year (calendar-read 872 (end-year (calendar-read
873 (format "Ending year of Yahrzeit table (>=%d): " 873 (format "Ending year of Yahrzeit table (>=%d): "
874 start-year) 874 start-year)
875 '(lambda (x) (>= x start-year))))) 875 (lambda (x) (>= x start-year)))))
876 (list death-date start-year end-year))) 876 (list death-date start-year end-year)))
877 (message "Computing yahrzeits...") 877 (message "Computing yahrzeits...")
878 (let* ((yahrzeit-buffer "*Yahrzeits*") 878 (let* ((yahrzeit-buffer "*Yahrzeits*")
@@ -1218,5 +1218,5 @@ have 30 days), and has Passover start on Tuesday.")
1218 1218
1219(provide 'cal-hebrew) 1219(provide 'cal-hebrew)
1220 1220
1221;;; arch-tag: aaab6718-7712-42ac-a32d-28fe1f944f3c 1221;; arch-tag: aaab6718-7712-42ac-a32d-28fe1f944f3c
1222;;; cal-hebrew.el ends here 1222;;; cal-hebrew.el ends here