From 33a5fa5e49c6f4c9708cf6d70927c509ed46e7fb Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 10 Sep 2024 22:42:00 +0200 Subject: emacs: The ignore form doesn’t exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/init.el | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.config') 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))) -- cgit v1.2.3