+2005-02-16 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * texi/infohack.el (infohack-texi-format): Silence XEmacs.
+
2005-02-01 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus-msg.el (gnus-inews-yank-articles): Don't delete newlines.
(texinfo-every-node-update)
(set-buffer-modified-p nil)
(message "texinfo formatting %s..." file)
- (if (featurep 'mule)
- ;; Encode messages to terminal.
- (let ((si:message (symbol-function 'message)))
- (fset 'message
- (byte-compile
- `(lambda (fmt &rest args)
- (funcall ,si:message "%s"
- (encode-coding-string
- (apply 'format fmt args)
- 'iso-2022-7bit)))))
- (unwind-protect
- (texinfo-format-buffer nil)
- (fset 'message si:message)))
- (texinfo-format-buffer nil))
+ (let ((si:message (symbol-function 'message)))
+ ;; Encode messages to terminal.
+ (fset
+ 'message
+ (byte-compile
+ (if (featurep 'xemacs)
+ `(lambda (fmt &rest args)
+ (unless (and (string-equal fmt "%s clean")
+ (equal (car args) buffer-file-name))
+ (funcall ,si:message "%s"
+ (encode-coding-string (apply 'format fmt args)
+ 'iso-2022-7bit))))
+ `(lambda (fmt &rest args)
+ (funcall ,si:message "%s"
+ (encode-coding-string (apply 'format fmt args)
+ 'iso-2022-7bit))))))
+ (unwind-protect
+ (texinfo-format-buffer nil)
+ (fset 'message si:message)))
(if (buffer-modified-p)
(progn (message "Saving modified %s" (buffer-file-name))
(save-buffer))))