Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b3bbaa66
Commit
b3bbaa66
authored
Mar 05, 1994
by
Richard M. Stallman
Browse files
(byte-compile-track-mouse): Handle >1 body form.
Generate code that binds track-mouse.
parent
846d69ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/bytecomp.el
+5
-7
No files found.
lisp/emacs-lisp/bytecomp.el
View file @
b3bbaa66
...
...
@@ -2689,13 +2689,11 @@ If FORM is a lambda or a macro, byte-compile it as a function."
(
byte-compile-out
'byte-unbind
1
))
(
defun
byte-compile-track-mouse
(
form
)
(
byte-compile-form
(
list
'funcall
(
list
'quote
(
list
'lambda
nil
(
list
'track-mouse
(
byte-compile-top-level
(
nth
1
form
))))))))
(
let
((
byte-compile-bound-variables
byte-compile-bound-variables
))
(
byte-compile-push-constant
t
)
(
byte-compile-variable-ref
'byte-varbind
'track-mouse
)
(
byte-compile-body-do-effect
(
cdr
form
))
(
byte-compile-out
'byte-unbind
1
)))
(
defun
byte-compile-condition-case
(
form
)
(
let*
((
var
(
nth
1
form
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment