]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove XEmacs compat code from reftex-ref.el
authorStefan Kangas <stefan@marxist.se>
Wed, 3 Aug 2022 09:39:25 +0000 (11:39 +0200)
committerStefan Kangas <stefan@marxist.se>
Wed, 3 Aug 2022 09:39:25 +0000 (11:39 +0200)
* lisp/textmodes/reftex-ref.el (reftex-latin1-to-ascii): Remove
XEmacs compat code.

lisp/textmodes/reftex-ref.el

index 3fe7a79a274df72811b66a6c7bb790112f784a8f..fead734be71e816f9757db235de24b76646ab65a 100644 (file)
@@ -294,14 +294,12 @@ also applies `reftex-translate-to-ascii-function' to the string."
 
 (defun reftex-latin1-to-ascii (string)
   ;; Translate the upper 128 chars in the Latin-1 charset to ASCII equivalents
-  (let ((tab "@@@@@@@@@@@@@@@@@@'@@@@@@@@@@@@@ icLxY|S\"ca<--R-o|23'uq..1o>423?AAAAAAACEEEEIIIIDNOOOOOXOUUUUYP3aaaaaaaceeeeiiiidnooooo:ouuuuypy")
-        (emacsp (not (featurep 'xemacs))))
+  (let ((tab "@@@@@@@@@@@@@@@@@@'@@@@@@@@@@@@@ icLxY|S\"ca<--R-o|23'uq..1o>423?AAAAAAACEEEEIIIIDNOOOOOXOUUUUYP3aaaaaaaceeeeiiiidnooooo:ouuuuypy"))
     (mapconcat
      (lambda (c)
        (cond ((and (> c 127) (< c 256))                 ; 8 bit Latin-1
               (char-to-string (aref tab (- c 128))))
-             ((and emacsp                               ; Not for XEmacs
-                   (> c 2175) (< c 2304))               ; Mule Latin-1
+             ((and (> c 2175) (< c 2304))               ; Mule Latin-1
               (char-to-string (aref tab (- c 2176))))
              (t (char-to-string c))))
      string "")))