emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/ps-mule.el,v


From: Vinicius Jose Latorre
Subject: [Emacs-diffs] Changes to emacs/lisp/ps-mule.el,v
Date: Fri, 01 Dec 2006 13:10:35 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Vinicius Jose Latorre <viniciusjl>      06/12/01 13:10:34

Index: ps-mule.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/ps-mule.el,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- ps-mule.el  30 Nov 2006 10:03:25 -0000      1.47
+++ ps-mule.el  1 Dec 2006 13:10:34 -0000       1.48
@@ -163,34 +163,7 @@
       (defalias 'string-make-multibyte 'copy-sequence))
   (or (fboundp 'encode-char)
       (defun encode-char (ch ccs)
-       ch))
-
-  ;; For Emacs 20 compatibility
-  (if (and (boundp 'mule-version)
-          (string< (symbol-value 'mule-version) "5.0"))
-      ;; mule package is loaded and mule version is lesser than 5.0
-      (progn
-       (or (fboundp 'encode-composition-rule)
-           (defun encode-composition-rule (rule)
-             (if (= (car rule) 4) (setcar rule 10))
-             (if (= (cdr rule) 4) (setcdr rule 10))
-             (+ (* (car rule) 12) (cdr rule))))
-       (or (fboundp 'find-composition)
-           (defun find-composition (pos &rest ignore)
-             (let ((ch (char-after pos)))
-               (and ch (eq (char-charset ch) 'composition)
-                    (let ((components (decompose-composite-char ch 'vector t)))
-                      (list pos (ps-mule-next-point pos) components
-                            (integerp (aref components 1)) nil
-                            (char-width ch))))))))
-    ;; mule package isn't loaded
-    (or (fboundp 'encode-composition-rule)
-       (defun encode-composition-rule (rule)
-         130))
-    (or (fboundp 'find-composition)
-       (defun find-composition (pos &rest ignore)
-         nil))
-    ))
+       ch)))
 
 
 ;;;###autoload




reply via email to

[Prev in Thread] Current Thread [Next in Thread]