branch: externals/tempel
commit d915e56b3c5cee3388a9e60334447a1b2ab3e2d4
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Rename tempel-global-abbrev-mode to global-tempel-abbrev-mode
---
 README.org | 6 +++---
 tempel.el  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index c6cccf53b4..9146d6e864 100644
--- a/README.org
+++ b/README.org
@@ -40,7 +40,7 @@ soon as you move before (behind) the first (last) field, the 
fields are
 finalized.
 
 Tempel can hook into the abbrev mechanism of Emacs by enabling the
-~tempel-abbrev-mode~ in a buffer or by enabling the 
~tempel-global-abbrev-mode~.
+~tempel-abbrev-mode~ in a buffer or by enabling the 
~global-tempel-abbrev-mode~.
 Then the Tempel templates will be available via ~expand-abbrev~ which is 
usually
 bound to ~C-x '~.
 
@@ -90,13 +90,13 @@ on =use-package=.
     ;; Optionally make the Tempel templates available to Abbrev,
     ;; either locally or globally. `expand-abbrev' is bound to C-x '.
     ;; (add-hook 'prog-mode-hook #'tempel-abbrev-mode)
-    ;; (tempel-global-abbrev-mode)
+    ;; (global-tempel-abbrev-mode)
   )
 
   ;; Optional: Use the Corfu completion UI
   (use-package corfu
     :init
-    (corfu-global-mode))
+    (global-corfu-mode))
 #+end_src
 
 * Template file format
diff --git a/tempel.el b/tempel.el
index 1439909606..6e5e6d6314 100644
--- a/tempel.el
+++ b/tempel.el
@@ -715,7 +715,7 @@ If called interactively, select a template with 
`completing-read'."
                         abbrev-minor-mode-table-alist)))))
 
 ;;;###autoload
-(define-globalized-minor-mode tempel-global-abbrev-mode tempel-abbrev-mode
+(define-globalized-minor-mode global-tempel-abbrev-mode tempel-abbrev-mode
   tempel--abbrev-on :group 'tempel)
 
 (defun tempel--abbrev-on ()

Reply via email to