emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/international/mule.el [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/international/mule.el [lexbind]
Date: Tue, 06 Jul 2004 05:58:32 -0400

Index: emacs/lisp/international/mule.el
diff -c emacs/lisp/international/mule.el:1.147.2.8 
emacs/lisp/international/mule.el:1.147.2.9
*** emacs/lisp/international/mule.el:1.147.2.8  Tue Apr 27 14:08:31 2004
--- emacs/lisp/international/mule.el    Tue Jul  6 09:39:54 2004
***************
*** 594,604 ****
                 (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
--- 594,602 ----
                 (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
***************
*** 1403,1409 ****
              (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
--- 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
***************
*** 1447,1453 ****
                   (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))
--- 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))
***************
*** 1503,1509 ****
                                    (- (point) last-pos)))
                       (save-excursion
                         (goto-char last-pos)
!                        (insert (string-to-multibyte 
                                  (format "\e%%/%d%c%c%s"
                                          noctets
                                          (+ (/ len 128) 128)
--- 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)
***************
*** 1670,1676 ****
          (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:"
--- 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:"
***************
*** 1690,1696 ****
                       "[ \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.
--- 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.




reply via email to

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