Discard hooks

This commit is contained in:
Marcus Kammer 2021-12-15 18:04:43 +01:00
parent b95e6170e3
commit 6046c0602b
Signed by: marcuskammer
GPG key ID: C374817BE285268F
4 changed files with 10 additions and 12 deletions

View file

@ -118,3 +118,9 @@ was created from a Texinfo file generated by Docutils or Sphinx."
(global-set-key (kbd "M-o") 'ace-window) (global-set-key (kbd "M-o") 'ace-window)
(global-set-key (kbd "M-[") 'tab-bar-history-back) (global-set-key (kbd "M-[") 'tab-bar-history-back)
(global-set-key (kbd "M-]") 'tab-bar-history-forward) (global-set-key (kbd "M-]") 'tab-bar-history-forward)
(add-hook 'diary-display-hook 'fancy-diary-display)
(add-hook 'today-visible-calendar-hook 'calendar-mark-today)
(add-hook 'write-file-hooks 'delete-trailing-whitespace)
(add-hook 'diary-list-entries-hook 'diary-include-other-diary-files)
(add-hook 'diary-mark-entries-hook 'diary-mark-included-diary-files)

View file

@ -1,10 +0,0 @@
(add-hook 'diary-display-hook 'fancy-diary-display)
(add-hook 'today-visible-calendar-hook 'calendar-mark-today)
(add-hook 'write-file-hooks 'delete-trailing-whitespace)
(add-hook 'diary-list-entries-hook 'diary-include-other-diary-files)
(add-hook 'diary-mark-entries-hook 'diary-mark-included-diary-files)
(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
(if (display-graphic-p)
(add-hook 'after-init-hook (lambda ()
(org-agenda-list)
(me/split-h3))))

View file

@ -4,4 +4,3 @@
(add-to-list 'auto-mode-alist '("\\.cl$" . lisp-mode)) (add-to-list 'auto-mode-alist '("\\.cl$" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
(add-to-list 'auto-mode-alist '("\\.[Cc][Ss][Vv]\\'" . csv-mode)) (add-to-list 'auto-mode-alist '("\\.[Cc][Ss][Vv]\\'" . csv-mode))
(add-to-list 'slime-contribs 'slime-autodoc)

View file

@ -7,5 +7,8 @@
(load "bundle--holidays") (load "bundle--holidays")
(load "bundle--latex") (load "bundle--latex")
(load "bundle--mk") (load "bundle--mk")
(load "bundle--hooks")
(load "bundle--lists") (load "bundle--lists")
(if (display-graphic-p)
(add-hook 'after-init-hook (lambda ()
(org-agenda-list)
(me/split-h3))))