summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoa2024-09-17 10:27:54 +0800
committernoa2024-09-17 10:27:54 +0800
commit89c7336f8b174c58681591724567cfd7a3b69ab4 (patch)
treef50c142ed7749b982a74cebcfe06fdac5bd6049a
parent492aa95a0988f5c1d42d26f123255b72b5a89d9d (diff)
Remove unused calendar config
-rw-r--r--emacs/init.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/emacs/init.el b/emacs/init.el
index eb1369c..8f8a20f 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -73,26 +73,19 @@
(global-set-key (kbd "C-.") #'emoji-search)
;; Update the calendar. We want weeks to start on a monday, the first day of the week. Holidays should be highlighted, and the date format should put the year first.
-
(setopt calendar-week-start-day 1
calendar-mark-holidays-flag t
calendar-date-style 'iso)
;; Ensure the calendar always displays at the bottom of the screen, rather than wrapping weirdly and looking bad when it shows up in a side window.
-
(add-to-list 'display-buffer-alist
'("\\*Calendar\\*"
(display-buffer-in-side-window)
(side . bottom)))
;; The default for this is eight, and i hoped that by setting it to nine there would never be a jump when there were extra weeks in a month and the calendar took up an extra line. It doesn't seem to have worked out that way, though.
-
(setopt calendar-minimum-window-height 9)
-;; Don't add anything to the mode line.
-
-;; (setopt calendar-mode-line-format nil)
-
;; Monospace font fallback
;; This is my own version of fixed-pitch, which has some changes to it. No hooks are added by default. Updating the whitelist automatically applies the hooks. And there is no functionality for changing the cursor type.