comparison lisp/ps-print.el @ 23204:70e635407161

To make it work also on Emacs 20.2 and the earlier version, check the value of mule-version.
author Kenichi Handa <handa@m17n.org>
date Mon, 07 Sep 1998 13:39:15 +0000
parents ada869918064
children 519bc559e950
comparison
equal deleted inserted replaced
23203:a4e688757109 23204:70e635407161
2796 ;; The following comments apply only to this part (through the next ^L). 2796 ;; The following comments apply only to this part (through the next ^L).
2797 ;; Author: Kenichi Handa <handa@etl.go.jp> 2797 ;; Author: Kenichi Handa <handa@etl.go.jp>
2798 ;; Maintainer: Kenichi Handa <handa@etl.go.jp> 2798 ;; Maintainer: Kenichi Handa <handa@etl.go.jp>
2799 2799
2800 (eval-and-compile 2800 (eval-and-compile
2801 (if (fboundp 'set-buffer-multibyte) 2801 (if (not (string< mule-version "4.0"))
2802 (progn 2802 (progn
2803 (defalias 'ps-mule-next-point '1+) 2803 (defalias 'ps-mule-next-point '1+)
2804 (defalias 'ps-mule-chars-in-string 'length) 2804 (defalias 'ps-mule-chars-in-string 'length)
2805 (defalias 'ps-mule-string-char 'aref) 2805 (defalias 'ps-mule-string-char 'aref)
2806 (defsubst ps-mule-next-index (str i) (1+ i))) 2806 (defsubst ps-mule-next-index (str i) (1+ i)))