Mercurial > hg > xemacs-beta
diff lisp/bytecomp.el @ 1548:5365af805d4c
[xemacs-hg @ 2003-06-30 09:24:47 by stephent]
maybe compile docstring as value <87n0fz9ax2.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Mon, 30 Jun 2003 09:24:47 +0000 |
parents | 70921960b980 |
children | 3776a1115180 |
line wrap: on
line diff
--- a/lisp/bytecomp.el Mon Jun 30 09:12:28 2003 +0000 +++ b/lisp/bytecomp.el Mon Jun 30 09:24:47 2003 +0000 @@ -2453,7 +2453,10 @@ (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))