summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-02-05 13:28:31 +0100
committerStefan Kangas <stefankangas@gmail.com>2020-02-05 13:28:31 +0100
commitfeb681dc36cf8d086d326197a6db912f98b97773 (patch)
treedb36a42bd873716dc85b740c14f10bb0796f391f /lisp/emacs-lisp
parentbb9723b0e2c8d555fede7153ed684ae63d3d94c2 (diff)
downloademacs-feb681dc36cf8d086d326197a6db912f98b97773.tar.gz
emacs-feb681dc36cf8d086d326197a6db912f98b97773.tar.bz2
emacs-feb681dc36cf8d086d326197a6db912f98b97773.zip
Silence byte-compiler warning
* lisp/emacs-lisp/bytecomp.el (byte-compile-insert-header): Silence byte-compiler warning about "Unused lexical variable".
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index d35ce663507..fce5e4aed6d 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -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))