]> git.eshelyaron.com Git - emacs.git/commitdiff
Silence byte-compiler warning
authorStefan Kangas <stefankangas@gmail.com>
Wed, 5 Feb 2020 12:28:31 +0000 (13:28 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 5 Feb 2020 12:28:31 +0000 (13:28 +0100)
* lisp/emacs-lisp/bytecomp.el (byte-compile-insert-header): Silence
byte-compiler warning about "Unused lexical variable".

lisp/emacs-lisp/bytecomp.el

index d35ce6635074dc23d1793847534c73c6cad3792b..fce5e4aed6dddc3811c2d2f9232ddc85076ae9c2 100644 (file)
@@ -2187,8 +2187,7 @@ With argument ARG, insert value in current buffer after the form."
 (defun byte-compile-insert-header (_filename outbuffer)
   "Insert a header at the start of OUTBUFFER.
 Call from the source buffer."
-  (let ((dynamic-docstrings byte-compile-dynamic-docstrings)
-       (dynamic byte-compile-dynamic)
+  (let ((dynamic byte-compile-dynamic)
        (optimize byte-optimize))
     (with-current-buffer outbuffer
       (goto-char (point-min))