(if (and (featurep 'utf-2000)
(re-search-backward "\\\\u[0-9A-Fa-f]+" nil t))
'utf-8-mcs-unix
- 'binary))))
+ 'binary)
+ (when (featurep 'utf-2000)
+ (goto-char (point-min))
+ (if (re-search-forward "\\\\u[0-9A-Fa-f]+" nil t)
+ 'utf-8-mcs-unix)))))
(setq ces 'binary))
(if (eq ces 'binary)
(setq buffer-file-coding-system 'binary)
(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))