emacs: BREAKING stop using use-package for prot-scratch

This commit is contained in:
Protesilaos Stavrou 2025-11-01 10:31:49 +02:00
parent 38ec49950a
commit 07bc2bc009
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 8 additions and 10 deletions

View file

@ -165,11 +165,10 @@
"C-x r ." #'prot-simple-file-to-register))
;;;; Scratch buffers per major mode (prot-scratch.el)
(use-package prot-scratch
:ensure nil
:bind ("C-c s" . prot-scratch-buffer)
:config
(setq prot-scratch-default-mode 'text-mode))
(prot-emacs-configure
(setq prot-scratch-default-mode 'text-mode)
(autoload #'prot-scratch-buffer "prot-scratch")
(define-key global-map (kbd "C-c s") #'prot-scratch-buffer))
;;;; Insert character pairs (prot-pair.el)
(use-package prot-pair

View file

@ -2761,11 +2761,10 @@ buffer. Read the doc string of the command ~prot-scratch-buffer~.
#+begin_src emacs-lisp :tangle "prot-emacs-modules/prot-emacs-essentials.el"
;;;; Scratch buffers per major mode (prot-scratch.el)
(use-package prot-scratch
:ensure nil
:bind ("C-c s" . prot-scratch-buffer)
:config
(setq prot-scratch-default-mode 'text-mode))
(prot-emacs-configure
(setq prot-scratch-default-mode 'text-mode)
(autoload #'prot-scratch-buffer "prot-scratch")
(define-key global-map (kbd "C-c s") #'prot-scratch-buffer))
#+end_src
*** The =prot-emacs-essentials.el= section about =prot-pair.el= (insert character pairs)