diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-23 23:46:57 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-23 23:46:57 +0200 |
commit | 9c94e6ec731ce433aadf12eae22d50e8fec7a91b (patch) | |
tree | dc3db263ba5c2afc725c5d163460597f233c1c8d /module/calp/terminal.scm | |
parent | Reformat test/datetime.scm (diff) | |
download | calp-9c94e6ec731ce433aadf12eae22d50e8fec7a91b.tar.gz calp-9c94e6ec731ce433aadf12eae22d50e8fec7a91b.tar.xz |
Remove (add|remove)-day, and month[+-].
Procedures where overly specific, and doing it manually was almost no
more work.
Diffstat (limited to 'module/calp/terminal.scm')
-rw-r--r-- | module/calp/terminal.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/calp/terminal.scm b/module/calp/terminal.scm index 8f1b7fa9..ee3b7bc4 100644 --- a/module/calp/terminal.scm +++ b/module/calp/terminal.scm @@ -191,12 +191,12 @@ (case char ((#\L #\l right) - (set! (current-page this) = add-day + (set! (current-page this) = (date+ (date day: 1)) (cached-events this) #f (active-element this) 0)) ((#\h #\H left) - (set! (current-page this) = remove-day + (set! (current-page this) = (date- (date day: 1)) (cached-events this) #f (active-element this) 0)) |