customized calendar

This commit is contained in:
2026-03-30 20:27:28 +02:00
parent b9bfb74633
commit 963be3b47f
2 changed files with 26 additions and 0 deletions
+22
View File
@@ -353,6 +353,28 @@
;; make screen flash instead of annoying bell
(setq visible-bell t)
;; bind super - m to maximize emacs-everywhere
(global-set-key (kbd "s-m") 'toggle-frame-maximized)
;; for Calendar
(setq calendar-week-start-day 1)
(setq calendar-intermonth-text
'(propertize
(format "%2d"
(car
(calendar-iso-from-absolute
(calendar-absolute-from-gregorian (list month day year)))))
'font-lock-face 'font-lock-warning-face))
(setq calendar-intermonth-header
(propertize "W" ; or e.g. "KW" in Germany
'font-lock-face 'font-lock-keyword-face))
(calendar-set-date-style 'european)
;; flycheck told me to do this:
(provide 'init)
;;; init.el ends here