diff options
| author | Thomas Ulmer <thomas.ulmer@redflagai.co> | 2025-06-12 15:58:12 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomas.ulmer@redflagai.co> | 2025-06-12 15:58:12 -0700 |
| commit | 77f375906179aa265ce53d130961348e13f6114d (patch) | |
| tree | ad6ee9ba20dd07005aae45b9811f5b77b4e22c5e | |
| parent | cad396f6063111e4ba4b1054b8d4899bba12983b (diff) | |
compatibility changes for older emacs
| -rw-r--r-- | emacs/init.el | 1 | ||||
| -rwxr-xr-x | emacs/site-lisp/single-header.el | 3 |
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." |
