projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `=ucs@big5' features.
[chise/xemacs-chise.git]
/
lisp
/
bytecomp.el
diff --git
a/lisp/bytecomp.el
b/lisp/bytecomp.el
index
cf3e917
..
cf62f7c
100644
(file)
--- a/
lisp/bytecomp.el
+++ b/
lisp/bytecomp.el
@@
-2443,7
+2443,10
@@
If FORM is a lambda or a macro, byte-compile it as a function."
(body (cdr (cdr fun)))
(doc (if (stringp (car body))
(prog1 (car body)
(body (cdr (cdr fun)))
(doc (if (stringp (car body))
(prog1 (car body)
- (setq body (cdr body)))))
+ ;; Discard the doc string
+ ;; only if it is not the only element of the body.
+ (if (cdr body)
+ (setq body (cdr body))))))
(int (assq 'interactive body)))
(dolist (arg arglist)
(cond ((not (symbolp arg))
(int (assq 'interactive body)))
(dolist (arg arglist)
(cond ((not (symbolp arg))