From 77f375906179aa265ce53d130961348e13f6114d Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Thu, 12 Jun 2025 15:58:12 -0700 Subject: compatibility changes for older emacs --- emacs/init.el | 1 + emacs/site-lisp/single-header.el | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'emacs') 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." -- cgit v1.2.3