From 961b02fc66ff71370320cfbbcc6d2b0db3516f96 Mon Sep 17 00:00:00 2001 From: Javier Olaechea Date: Sun, 17 Mar 2019 15:35:09 -0500 Subject: Ignore unused argument in paredit-override-check-parens-interactively The resulting byte code is more compact and the only reason it is being used is to avoid the warning about unused arguments. (disassemble (lambda (condition) condition nil)) byte code: args: (condition) 0 varref condition 1 discard 2 constant nil 3 return (disassemble (lambda (condition) (declare ignore condition) nil)) byte code: args: (condition) 0 constant nil 1 return --- paredit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paredit.el') diff --git a/paredit.el b/paredit.el index fe8cf2b..1296a4b 100644 --- a/paredit.el +++ b/paredit.el @@ -199,7 +199,7 @@ If point was on indentation, it stays in indentation." "Keymap for the paredit minor mode.") (defvar paredit-override-check-parens-function - (lambda (condition) condition nil) + (lambda (condition) (declare ignore condition) nil) "Function to tell whether unbalanced text should inhibit Paredit Mode.") ;;;###autoload -- cgit v1.2.1