Mercurial > emacs
comparison lisp/emacs-lisp/bytecomp.el @ 64397:876aa7f08950
(byte-compile-maybe-guarded): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 16 Jul 2005 19:04:35 +0000 |
parents | 47148916c99b |
children | 9fcfa0b883d4 |
comparison
equal
deleted
inserted
replaced
64396:52c5faa47a88 | 64397:876aa7f08950 |
---|---|
3351 | 3351 |
3352 (defmacro byte-compile-maybe-guarded (condition &rest body) | 3352 (defmacro byte-compile-maybe-guarded (condition &rest body) |
3353 "Execute forms in BODY, potentially guarded by CONDITION. | 3353 "Execute forms in BODY, potentially guarded by CONDITION. |
3354 CONDITION is a variable whose value is a test in an `if' or `cond'. | 3354 CONDITION is a variable whose value is a test in an `if' or `cond'. |
3355 BODY is the code to compile first arm of the if or the body of the | 3355 BODY is the code to compile first arm of the if or the body of the |
3356 cond clause. If CONDITION's value is of the form `(foundp 'foo)' | 3356 cond clause. If CONDITION's value is of the form (foundp 'foo) |
3357 or `(boundp 'foo)', the relevant warnings from BODY about foo | 3357 or (boundp 'foo), the relevant warnings from BODY about foo's |
3358 being undefined will be suppressed. | 3358 being undefined will be suppressed. |
3359 | 3359 |
3360 If CONDITION's value is `(featurep 'xemacs)', that suppresses all | 3360 If CONDITION's value is (not (featurep emacs)) or (featurep 'xemacs), |
3361 warnings during execution of BODY." | 3361 that suppresses all warnings during execution of BODY." |
3362 (declare (indent 1) (debug t)) | 3362 (declare (indent 1) (debug t)) |
3363 `(let* ((fbound | 3363 `(let* ((fbound |
3364 (if (eq 'fboundp (car-safe ,condition)) | 3364 (if (eq 'fboundp (car-safe ,condition)) |
3365 (and (eq 'quote (car-safe (nth 1 ,condition))) | 3365 (and (eq 'quote (car-safe (nth 1 ,condition))) |
3366 ;; Ignore if the symbol is already on the | 3366 ;; Ignore if the symbol is already on the |