]> git.eshelyaron.com Git - emacs.git/commitdiff
Quieten ses.el compilation
authorGlenn Morris <rgm@gnu.org>
Fri, 2 Mar 2018 01:28:03 +0000 (20:28 -0500)
committerGlenn Morris <rgm@gnu.org>
Fri, 2 Mar 2018 01:28:03 +0000 (20:28 -0500)
* lisp/ses.el (ses--edit-cell-completion-at-point-function)
(ses--read-printer-completion-at-point-function):
Mark unused arguments.

lisp/ses.el

index 9097bf5d8192fca93c598bd26849d93a38fefe10..bcf8bdb6368a5f083ddb7cf1b2284121a76df61b 100644 (file)
@@ -2495,7 +2495,7 @@ to are recalculated first."
          prefix-length)
     (when (and prefix (null (string= prefix "")))
       (setq prefix-length (length prefix))
-      (maphash (lambda (key val)
+      (maphash (lambda (key _val)
                  (let ((key-name (symbol-name key)))
                    (when (and (>= (length key-name) prefix-length)
                               (string= prefix (substring key-name 0 prefix-length)))
@@ -2648,7 +2648,7 @@ cells."
          prefix-length)
     (when prefix
       (setq prefix-length (length prefix))
-      (maphash (lambda (key val)
+      (maphash (lambda (key _val)
                  (let ((key-name (symbol-name key)))
                    (when (and (>= (length key-name) prefix-length)
                               (string= prefix (substring key-name 0 prefix-length)))