emacs: BREAKING stop using use-package for goto-chg

This commit is contained in:
Protesilaos Stavrou 2025-11-01 11:23:29 +02:00
parent 77562dac15
commit eb8b09676e
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 10 additions and 10 deletions

View file

@ -402,11 +402,11 @@
;; C-c s is occupied by `prot-scratch-buffer'.
(define-key global-map (kbd "C-c r") #'substitute-prefix-map))
(use-package goto-chg
:ensure t
:bind
(("C-(" . goto-last-change)
("C-)" . goto-last-change-reverse)))
(prot-emacs-configure
(prot-emacs-install goto-chg)
(prot-emacs-keybind global-map
"C-(" #'goto-last-change
"C-)" #'goto-last-change-reverse))
;;; TMR May Ring (tmr is used to set timers)
;; Read the manual: <https://protesilaos.com/emacs/tmr>.

View file

@ -3348,11 +3348,11 @@ change happened. Calling the command again cycles to the point before
that and so on. Simple and super effective.
#+begin_src emacs-lisp :tangle "prot-emacs-modules/prot-emacs-essentials.el"
(use-package goto-chg
:ensure t
:bind
(("C-(" . goto-last-change)
("C-)" . goto-last-change-reverse)))
(prot-emacs-configure
(prot-emacs-install goto-chg)
(prot-emacs-keybind global-map
"C-(" #'goto-last-change
"C-)" #'goto-last-change-reverse))
#+end_src
*** The =prot-emacs-essentials.el= section about ~tmr~ (set timers)