[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/international/mule.el
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/international/mule.el |
Date: |
Tue, 01 Jun 2004 20:44:42 -0400 |
Index: emacs/lisp/international/mule.el
diff -c emacs/lisp/international/mule.el:1.199
emacs/lisp/international/mule.el:1.200
*** emacs/lisp/international/mule.el:1.199 Wed Apr 21 19:17:03 2004
--- emacs/lisp/international/mule.el Wed Jun 2 00:43:56 2004
***************
*** 592,602 ****
(make-char charset (+ i start) start)
(make-char charset (+ i start) (+ start chars -1)))))))
! (defun register-char-codings (coding-system safe-chars)
! "This is an obsolete function.
! It exists just for backward compatibility, and it does nothing.")
(make-obsolete 'register-char-codings
! "Unnecessary function. Calling it has no effect."
"21.3")
(defconst char-coding-system-table nil
--- 592,600 ----
(make-char charset (+ i start) start)
(make-char charset (+ i start) (+ start chars -1)))))))
! (defalias 'register-char-codings 'ignore "")
(make-obsolete 'register-char-codings
! "it exists just for backward compatibility, and does nothing."
"21.3")
(defconst char-coding-system-table nil
***************
*** 1401,1407 ****
(let* ((M (char-after (+ pos 4)))
(L (char-after (+ pos 5)))
(encoding (match-string 2))
! (encoding-info (assoc-string
encoding
ctext-non-standard-encodings-alist t))
(coding (if encoding-info
--- 1399,1405 ----
(let* ((M (char-after (+ pos 4)))
(L (char-after (+ pos 5)))
(encoding (match-string 2))
! (encoding-info (assoc-string
encoding
ctext-non-standard-encodings-alist t))
(coding (if encoding-info
***************
*** 1445,1451 ****
(dolist (elt charset)
(aset table (make-char elt) slot)))
((char-table-p charset)
! (map-char-table #'(lambda (k v)
(if (and v (> k 128)) (aset table k slot)))
charset))))))
table))
--- 1443,1449 ----
(dolist (elt charset)
(aset table (make-char elt) slot)))
((char-table-p charset)
! (map-char-table #'(lambda (k v)
(if (and v (> k 128)) (aset table k slot)))
charset))))))
table))
***************
*** 1501,1507 ****
(- (point) last-pos)))
(save-excursion
(goto-char last-pos)
! (insert (string-to-multibyte
(format "\e%%/%d%c%c%s"
noctets
(+ (/ len 128) 128)
--- 1499,1505 ----
(- (point) last-pos)))
(save-excursion
(goto-char last-pos)
! (insert (string-to-multibyte
(format "\e%%/%d%c%c%s"
noctets
(+ (/ len 128) 128)
***************
*** 1668,1674 ****
(goto-char tail-start)
(re-search-forward "[\r\n]\^L" nil t)
(if (re-search-forward
! "[\r\n]\\([^[\r\n]*\\)[ \t]*Local Variables:[
\t]*\\([^\r\n]*\\)[\r\n]"
tail-end t)
;; The prefix is what comes before "local variables:" in its
;; line. The suffix is what comes after "local variables:"
--- 1666,1672 ----
(goto-char tail-start)
(re-search-forward "[\r\n]\^L" nil t)
(if (re-search-forward
! "[\r\n]\\([^[\r\n]*\\)[ \t]*Local Variables:[
\t]*\\([^\r\n]*\\)[\r\n]"
tail-end t)
;; The prefix is what comes before "local variables:" in its
;; line. The suffix is what comes after "local variables:"
***************
*** 1688,1694 ****
"[ \t]*unibyte[ \t]*:[ \t]*\\([^ \t\r\n]+\\)[ \t]*"
suffix "[\r\n]"))
(re-end
! (concat "[\r\n]" prefix "[ \t]*End *:[ \t]*" suffix
"[\r\n]?"))
(pos (1- (point))))
(forward-char -1) ; skip back \r or \n.
--- 1686,1692 ----
"[ \t]*unibyte[ \t]*:[ \t]*\\([^ \t\r\n]+\\)[ \t]*"
suffix "[\r\n]"))
(re-end
! (concat "[\r\n]" prefix "[ \t]*End *:[ \t]*" suffix
"[\r\n]?"))
(pos (1- (point))))
(forward-char -1) ; skip back \r or \n.
- [Emacs-diffs] Changes to emacs/lisp/international/mule.el,
Juanma Barranquero <=