summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el1
-rwxr-xr-xemacs/site-lisp/single-header.el3
2 files changed, 3 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index b5312c9..c60c7b0 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -909,6 +909,7 @@ BEG and END define the region."
(setq async-shell-command-buffer 'new-buffer))
(use-package ispell ; spellchecker
+ :demand t
:custom
(ispell-personal-dictionary "/home/tmu/.aspell.en.pws")
:hook
diff --git a/emacs/site-lisp/single-header.el b/emacs/site-lisp/single-header.el
index 0080da1..bf48c48 100755
--- a/emacs/site-lisp/single-header.el
+++ b/emacs/site-lisp/single-header.el
@@ -245,7 +245,8 @@ arg, dismiss all the notifications."
(with-current-buffer buf
(let ((str (single-header--time-memo force frame
single-header-format frame win buf)))
- (replace-region-contents (point-min) (point-max) str)))))))
+ (erase-buffer)
+ (insert str)))))))
(define-minor-mode single-header-mode
"Global minor mode to enable a single info line at the top of each frame."