0ebe54ef11
Also quick port to Emacs 21. Pre.47's changes are mostly to support Emacs 21, but it has at least 2 problems: - It does not work in a TTY. - Mule handling is insufficient.
24 lines
646 B
Text
24 lines
646 B
Text
$NetBSD: patch-ab,v 1.1 2002/10/18 14:50:15 minoura Exp $
|
|
|
|
--- lisp/mule-sysdp.el.orig Sun Nov 14 22:00:12 1999
|
|
+++ lisp/mule-sysdp.el Thu Oct 17 04:05:16 2002
|
|
@@ -23,10 +23,15 @@
|
|
mule-version))
|
|
(if (or (fboundp 'kinsoku)
|
|
(boundp 'kinsoku-ascii))
|
|
- (string-to-number (substring
|
|
- mule-version
|
|
- (match-beginning 0)
|
|
- (match-end 0)))
|
|
+ (let (vers)
|
|
+ (setq vers
|
|
+ (string-to-number
|
|
+ (substring mule-version
|
|
+ (match-beginning 0)
|
|
+ (match-end 0))))
|
|
+ (if (> vers 4.0)
|
|
+ 4.0
|
|
+ vers))
|
|
0))
|
|
(t 2.3))
|
|
0)
|