Add reference to crux

This commit is contained in:
Bram Schoenmakers 2022-11-27 22:38:39 +01:00
parent c8849e217a
commit 2eecdf0db3
2 changed files with 8 additions and 4 deletions

View File

@ -151,11 +151,13 @@ My vertico-repeat setup.
#+begin_src elisp :tangle gists/emacs-comments-do-what-i-actually-mean.el
;; Replace comment-dwim (M-;) with a modified version of
;; comment-or-uncomment-region. The modification is done by the crux
;; package, which acts on a region if active otherwise on the current
;; line.
;; [1] package, which acts on a region if active otherwise on the
;; current line.
;;
;; My personal preference goes to using straight.el-powered
;; use-package forms, even for built-in modules.
;;
;; [1] https://github.com/bbatsov/crux
(use-package newcomment
:straight (:type built-in)

View File

@ -1,10 +1,12 @@
;; Replace comment-dwim (M-;) with a modified version of
;; comment-or-uncomment-region. The modification is done by the crux
;; package, which acts on a region if active otherwise on the current
;; line.
;; [1] package, which acts on a region if active otherwise on the
;; current line.
;;
;; My personal preference goes to using straight.el-powered
;; use-package forms, even for built-in modules.
;;
;; [1] https://github.com/bbatsov/crux
(use-package newcomment
:straight (:type built-in)