From 2eecdf0db38377972ba7dbac0e598f54d458df1a Mon Sep 17 00:00:00 2001 From: Bram Schoenmakers Date: Sun, 27 Nov 2022 22:38:39 +0100 Subject: [PATCH] Add reference to crux --- gists.org | 6 ++++-- gists/emacs-comments-do-what-i-actually-mean.el | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gists.org b/gists.org index f0e101f..284a1ff 100644 --- a/gists.org +++ b/gists.org @@ -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) diff --git a/gists/emacs-comments-do-what-i-actually-mean.el b/gists/emacs-comments-do-what-i-actually-mean.el index d42f5c8..399336a 100644 --- a/gists/emacs-comments-do-what-i-actually-mean.el +++ b/gists/emacs-comments-do-what-i-actually-mean.el @@ -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)