diff options
-rw-r--r-- | emacs/.config/emacs-kj/init.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index c4cc03a..8e8797e 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -209,11 +209,11 @@ :bind ("M-s g" . deadgrep)) ;; For recent files. -(recentf-mode 1) -(run-at-time nil (* 5 60) 'recentf-save-list) (setq recentf-max-saved-items 1000) (setq recentf-keep (list (defun kj/recentf-keep (file) t))) +(recentf-mode 1) +(run-at-time nil (* 5 60) 'recentf-save-list) (setq global-mark-ring-max 500 mark-ring-max 16) @@ -884,5 +884,5 @@ 'font-lock-face 'calendar-iso-week-face)) (setq ispell-local-dictionary "en_US") -(add-hook 'text-mode-hook (defun kj/flyspell-mode () (flyspell-mode 1))) -(add-hook 'prog-mode-hook (defun kj/flyspell-mode () (flyspell-prog-mode 1))) +(add-hook 'text-mode-hook (defun kj/flyspell-mode (&rest args) (flyspell-mode 1))) +(add-hook 'prog-mode-hook (defun kj/flyspell-prog-mode (&rest args) (flyspell-prog-mode 1))) |