summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-10 22:42:00 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-10 22:42:00 +0200
commit33a5fa5e49c6f4c9708cf6d70927c509ed46e7fb (patch)
tree1744e7b1af27426a6a3b9f7478120f1fb99cd584 /.config
parentb9365b662d056f47fe2b821b120120e07430679b (diff)
emacs: The ignore form doesn’t exist
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 9b53db1..f5a48c6 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -79,9 +79,9 @@ it convenient to use in ‘thread-last’."
(apply function arguments)
(recenter))
-(defmacro x-comment (&rest body)
+(defmacro x-comment (&rest _body)
"Comment out BODY. A cleaner alternative to line-commenting a region."
- (declare (indent 0) (ignore body))
+ (declare (indent 0))
nil)
;;; Rational Defaults
@@ -589,8 +589,7 @@ font name, font weight, and font height in that order.")
(if (daemonp)
(add-hook 'after-make-frame-functions
- (lambda (frame)
- (declare (ignore frame))
+ (lambda (_frame)
(x-set-fonts)))
(x-set-fonts))
@@ -652,8 +651,7 @@ ligatures for `c-ts-mode', the following two entries could be added:
c-auto-newline t
c-hungry-delete-key t)
-(defun x-c-defun-open-safe (syntax position)
- (declare (ignore syntax position))
+(defun x-c-defun-open-safe (_syntax _position)
(if (c-cpp-define-name)
'(after)
'(before after)))