(let ((for-effect t))
;; To avoid consing up monstrously large forms at load time, we split
;; the output regularly.
- (and (eq (car-safe form) 'defalias) (nthcdr 300 byte-compile-output)
+ (and (memq (car-safe form) '(fset defalias))
+ (nthcdr 300 byte-compile-output)
(byte-compile-flush-pending))
(funcall handler form)
(if for-effect
;; No doc string to make-docfile; insert form in normal code.
(byte-compile-keep-pending
(list (if (byte-compile-version-cond byte-compile-compatibility)
- 'defalias 'fset)
+ 'fset 'defalias)
(list 'quote name)
(cond ((not macrop)
code)
;; b-c-output-file-form analyze the defalias.
(byte-compile-flush-pending)
(princ (if (byte-compile-version-cond byte-compile-compatibility)
- "\n(defalias '" "\n(fset '")
+ "\n(fset '" "\n(defalias '")
outbuffer)
(prin1 name outbuffer)
(byte-compile-output-docform