mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: BREAKING stop using use-package for prot-comment
This commit is contained in:
parent
eae0a6dc00
commit
564f5f075d
|
|
@ -181,9 +181,7 @@
|
|||
"M-\\" #'prot-pair-delete))
|
||||
|
||||
;;;; Comments (prot-comment.el)
|
||||
(use-package prot-comment
|
||||
:ensure nil
|
||||
:init
|
||||
(prot-emacs-configure
|
||||
(setq comment-empty-lines t)
|
||||
(setq comment-fill-column nil)
|
||||
(setq comment-multi-line t)
|
||||
|
|
@ -193,10 +191,15 @@
|
|||
(setq prot-comment-comment-keywords '("TODO" "NOTE" "FIXME"))
|
||||
(setq prot-comment-timestamp-format-concise "%F")
|
||||
(setq prot-comment-timestamp-format-verbose "%F %T %z")
|
||||
:bind
|
||||
(("C-;" . prot-comment)
|
||||
("M-;" . prot-comment) ; overrides `comment-dwim'
|
||||
("C-x C-;" . prot-comment-timestamp-keyword)))
|
||||
|
||||
(prot-emacs-autoload
|
||||
(prot-comment prot-comment-timestamp-keyword)
|
||||
"prot-comment")
|
||||
|
||||
(prot-emacs-keybind global-map
|
||||
"C-;" #'prot-comment
|
||||
"M-;" #'prot-comment ; overrides `comment-dwim'
|
||||
"C-x C-;" #'prot-comment-timestamp-keyword))
|
||||
|
||||
;;;; Prefix keymap (prot-prefix.el)
|
||||
(use-package prot-prefix
|
||||
|
|
|
|||
|
|
@ -2854,9 +2854,7 @@ the module to set my desired configurations.
|
|||
|
||||
#+begin_src emacs-lisp :tangle "prot-emacs-modules/prot-emacs-essentials.el"
|
||||
;;;; Comments (prot-comment.el)
|
||||
(use-package prot-comment
|
||||
:ensure nil
|
||||
:init
|
||||
(prot-emacs-configure
|
||||
(setq comment-empty-lines t)
|
||||
(setq comment-fill-column nil)
|
||||
(setq comment-multi-line t)
|
||||
|
|
@ -2866,10 +2864,15 @@ the module to set my desired configurations.
|
|||
(setq prot-comment-comment-keywords '("TODO" "NOTE" "FIXME"))
|
||||
(setq prot-comment-timestamp-format-concise "%F")
|
||||
(setq prot-comment-timestamp-format-verbose "%F %T %z")
|
||||
:bind
|
||||
(("C-;" . prot-comment)
|
||||
("M-;" . prot-comment) ; overrides `comment-dwim'
|
||||
("C-x C-;" . prot-comment-timestamp-keyword)))
|
||||
|
||||
(prot-emacs-autoload
|
||||
(prot-comment prot-comment-timestamp-keyword)
|
||||
"prot-comment")
|
||||
|
||||
(prot-emacs-keybind global-map
|
||||
"C-;" #'prot-comment
|
||||
"M-;" #'prot-comment ; overrides `comment-dwim'
|
||||
"C-x C-;" #'prot-comment-timestamp-keyword))
|
||||
#+end_src
|
||||
|
||||
*** The =prot-emacs-essentials.el= section about =prot-prefix.el= (prefix nested keymaps)
|
||||
|
|
|
|||
Loading…
Reference in a new issue