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
a8406c20
Commit
a8406c20
authored
Sep 27, 2011
by
Stefan Monnier
Browse files
* lisp/emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
object has more than 4 slots. Fixes: debbugs:9613
parent
a239d4e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/debug.el
lisp/emacs-lisp/debug.el
+3
-1
No files found.
lisp/ChangeLog
View file @
a8406c20
2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
object has more than 4 slots (bug#9613).
2011-09-28 Juanma Barranquero <lekktu@gmail.com>
* subr.el (with-output-to-temp-buffer):
...
...
lisp/emacs-lisp/debug.el
View file @
a8406c20
...
...
@@ -869,8 +869,10 @@ To specify a nil argument interactively, exit with an empty minibuffer."
,
defn
,@
(
remq
'&rest
(
remq
'&optional
args
))))))
(
if
(
>
(
length
defn
)
5
)
;; The mere presence of field 5 is sufficient to make
;; it interactive.
(
push
`
(
interactive
,
(
aref
defn
5
))
body
))
(
if
(
aref
defn
4
)
(
if
(
and
(
>
(
length
defn
)
4
)
(
aref
defn
4
)
)
;; Use `documentation' here, to get the actual string,
;; in case the compiled function has a reference
;; to the .elc file.
...
...
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