summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2015-11-23 14:49:23 +0000
committerAlan Mackenzie <acm@muc.de>2015-11-23 14:49:23 +0000
commit5454708346433d08a41f77a12d416614dd113721 (patch)
tree7cf94a2691e9d581a8e91199c5df096c08cdbbc8 /lisp/emacs-lisp
parent12ad79c23e26e02007776105f99b03b0169c2a62 (diff)
downloademacs-5454708346433d08a41f77a12d416614dd113721.tar.gz
emacs-5454708346433d08a41f77a12d416614dd113721.tar.bz2
emacs-5454708346433d08a41f77a12d416614dd113721.zip
Expunge occurrences of `setq' with an odd number of arguments.
* lisp/apropos.el (apropos-documentation): * lisp/obsolete/complete.el (PC-include-file-all-completions): * lisp/progmodes/compile.el (compilation-goto-locus): * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice) Insert missing nil at end of `setq' forms. * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an erroneous trailing variable name from a setq, thus allowing a compilation properly to track functions not defined at runtime.
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 fc3bfc5fc51..b29e77b14b5 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2287,8 +2287,7 @@ list that represents a doc string reference.
;; byte-compile-warn-about-unresolved-functions.
(if (memq funsym byte-compile-noruntime-functions)
(setq byte-compile-noruntime-functions
- (delq funsym byte-compile-noruntime-functions)
- byte-compile-noruntime-functions)
+ (delq funsym byte-compile-noruntime-functions))
(setq byte-compile-unresolved-functions
(delq (assq funsym byte-compile-unresolved-functions)
byte-compile-unresolved-functions)))))