summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-10-22 21:38:59 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-10-22 21:38:59 -0400
commitd361bcfbc7a69737ccd383e127fc8744c80cf5b4 (patch)
tree0a900898735e6daefe02ead8f846fe1c37f3539a /lisp/emacs-lisp
parent6a7884caf2a6f4a7fb7faa9ba275163d40f6bd96 (diff)
downloademacs-d361bcfbc7a69737ccd383e127fc8744c80cf5b4.tar.gz
emacs-d361bcfbc7a69737ccd383e127fc8744c80cf5b4.tar.bz2
emacs-d361bcfbc7a69737ccd383e127fc8744c80cf5b4.zip
* lisp/select.el: Use lexical-binding.
(gui-set-selection): Provide an implementation for non-GUI frames. * lisp/term/x-win.el: Use lexical-binding. (x-clipboard-yank): Fix up missed renamings. * lisp/term/w32-win.el (libgif-version, libjpeg-version): Silence compiler. (w32--set-selection): Fix up var names. * lisp/term/pc-win.el: Use lexical-binding. (w16-selection-exists-p): Silence compiler warning. (w16-selection-owner-p): Fix up missed renamings. * lisp/emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug. * lisp/frame.el (frame-notice-user-settings): Fix excessive quoting. Fixes: debbugs:18791
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 264539e03a7..df7c4cf11b0 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2963,11 +2963,9 @@ for symbols generated by the byte compiler itself."
interactive-only))
(t "."))))
(if (eq (car-safe (symbol-function (car form))) 'macro)
- (progn
- (debug)
- (byte-compile-log-warning
- (format "Forgot to expand macro %s in %S" (car form) form)
- nil :error)))
+ (byte-compile-log-warning
+ (format "Forgot to expand macro %s in %S" (car form) form)
+ nil :error))
(if (and handler
;; Make sure that function exists.
(and (functionp handler)