summaryrefslogtreecommitdiff
path: root/paredit.el
diff options
context:
space:
mode:
authorJavier Olaechea <pirata@gmail.com>2019-03-17 15:35:09 -0500
committerTaylor R Campbell <campbell+paredit@mumble.net>2019-11-16 21:14:37 +0000
commit961b02fc66ff71370320cfbbcc6d2b0db3516f96 (patch)
tree85e217acf5eaac041b7f4f30b40bef46b6237898 /paredit.el
parentacbe10fdd85d2e91831adf70b6a828bc7e900da0 (diff)
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
Diffstat (limited to 'paredit.el')
-rw-r--r--paredit.el2
1 files changed, 1 insertions, 1 deletions
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