diff options
-rw-r--r-- | init.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/init.el b/init.el index aa2bb9a..a633387 100644 --- a/init.el +++ b/init.el | |||
@@ -1139,6 +1139,7 @@ specific to most general, they are these: | |||
1139 | scroll-margin 0 | 1139 | scroll-margin 0 |
1140 | word-wrap t | 1140 | word-wrap t |
1141 | wrap-prefix (repeat-string acdw-irc/left-margin " ") | 1141 | wrap-prefix (repeat-string acdw-irc/left-margin " ") |
1142 | nyan-mode nil | ||
1142 | line-number-mode nil | 1143 | line-number-mode nil |
1143 | column-number-mode nil | 1144 | column-number-mode nil |
1144 | file-percentage-mode nil) | 1145 | file-percentage-mode nil) |
@@ -1860,7 +1861,13 @@ browser defined in `browse-url-secondary-browser-function'." | |||
1860 | (:option nyan-animate-nyancat nil | 1861 | (:option nyan-animate-nyancat nil |
1861 | nyan-bar-length 20 | 1862 | nyan-bar-length 20 |
1862 | nyan-minimum-window-width fill-column) | 1863 | nyan-minimum-window-width fill-column) |
1863 | (nyan-mode +1)) | 1864 | (nyan-mode +1) |
1865 | (defun disable-nyan-mode () | ||
1866 | "Disable `nyan-mode' in current buffer." | ||
1867 | (setq-local nyan-mode -1)) | ||
1868 | (dolist (mode '(eshell-mode | ||
1869 | comint-mode)) | ||
1870 | (add-hook mode #'disable-nyan-mode))) | ||
1864 | 1871 | ||
1865 | ;; (setup (:straight olivetti) | 1872 | ;; (setup (:straight olivetti) |
1866 | ;; (:option olivetti-body-width (+ fill-column 4) | 1873 | ;; (:option olivetti-body-width (+ fill-column 4) |