]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/calc/calc.el: Remove some XEmacs compat code.
authorStefan Kangas <stefan@marxist.se>
Wed, 13 Jan 2021 14:12:08 +0000 (15:12 +0100)
committerStefan Kangas <stefan@marxist.se>
Wed, 13 Jan 2021 14:12:08 +0000 (15:12 +0100)
lisp/calc/calc.el

index 68ae46858989448a9e4ad59d6a09211a85c5dec7..d684c7ba97f755dd7eb52fe800fe75a8d823d7bd 100644 (file)
@@ -1095,15 +1095,7 @@ Used by `calc-user-invocation'.")
         (ignore-errors
           (define-key calc-digit-map x 'calcDigit-delchar)
           (define-key calc-mode-map x 'calc-pop)
-          (define-key calc-mode-map
-            (if (and (vectorp x) (featurep 'xemacs))
-                (if (= (length x) 1)
-                    (vector (if (consp (aref x 0))
-                                (cons 'meta (aref x 0))
-                              (list 'meta (aref x 0))))
-                  "\e\C-d")
-              (vconcat "\e" x))
-            'calc-pop-above)))
+          (define-key calc-mode-map (vconcat "\e" x) 'calc-pop-above)))
       (if calc-scan-for-dels
           (append (where-is-internal 'delete-forward-char global-map)
                   '("\C-d"))