emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] [Patch] make emacs-wiki can run under emacs22


From: Li Daobing
Subject: [emacs-wiki-discuss] [Patch] make emacs-wiki can run under emacs22
Date: Thu, 3 Mar 2005 22:56:33 +0800

Who tell me why use charset-short-name in old-version? 

In emacs22, charset-short-name doesn't work, so i delete it, Who can
tell me why use charset-short-name in old-version?

$ tla changes --diffs
* looking for address@hidden/emacs-wiki--main--1.0--patch-6
to compare with
* comparing to address@hidden/emacs-wiki--main--1.0--patch-6
M  emacs-wiki-publish.el

* modified files

--- orig/emacs-wiki-publish.el
+++ mod/emacs-wiki-publish.el
@@ -1297,10 +1297,7 @@
                             ((fboundp 'char-to-int)
                              (char-to-int char))
                             (t char))))
-          (if (or (and (fboundp 'charset-short-name)
-                       (string= (charset-short-name
-                                 (char-charset char)) "ASCII"))
-                  (string= (char-charset char) "ascii"))
+          (if (string= (char-charset char) "ascii")
               (setq len (length code)
                     str (replace-match (concat "&#" code ";") nil nil str)
                     pos (+ 3 len pos))




reply via email to

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