summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-09 23:57:52 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-09 23:57:52 +0200
commitbbe127ae7aa25f6643d10d27981dcd9dda2b8177 (patch)
tree09091a11a62718e3c68ab2f01a7415ef21584cd3
parent1fd0bc1303fe34038cb14fd6f42e710810caee6d (diff)
emacs: Use (declare (ignore …))
-rw-r--r--.config/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index d4f0e0d..8560128 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -634,7 +634,8 @@ 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)
+(defun x-c-defun-open-safe (syntax position)
+ (declare (ignore syntax position))
(if (c-cpp-define-name)
'(after)
'(before after)))