branch: externals/auctex
commit b141ded9327bedf7aa7e72d575f31ec020123975
Author: Ikumi Keita <ik...@ikumi.que.jp>
Commit: Ikumi Keita <ik...@ikumi.que.jp>

    Remove compatibility code for xemacs
    
    * prv-emacs.el (preview-compatibility-macros): Remove.
    * preview.el.in (eval-when-compile,makunbound): Remove useless
    codes.
---
 preview.el.in | 9 ---------
 prv-emacs.el  | 3 ---
 2 files changed, 12 deletions(-)

diff --git a/preview.el.in b/preview.el.in
index 4c40534..8748c8f 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -3634,14 +3634,5 @@ If not a regular release, the date of the last change.")
 file exhibiting the problem might help."
      )))
 
-(eval-when-compile
-  (when (boundp 'preview-compatibility-macros)
-    (dolist (elt preview-compatibility-macros)
-      (if (consp elt)
-         (fset (car elt) (cdr elt))
-       (fmakunbound elt)))))
-
-(makunbound 'preview-compatibility-macros)
-
 (provide 'preview)
 ;;; preview.el ends here
diff --git a/prv-emacs.el b/prv-emacs.el
index 0afef66..0ccce7b 100644
--- a/prv-emacs.el
+++ b/prv-emacs.el
@@ -30,9 +30,6 @@
 (require 'tex)
 (require 'latex)
 
-(defvar preview-compatibility-macros nil
-  "List of macros only present when compiling/loading.")
-
 (defcustom preview-transparent-color '(highlight :background)
   "Color to appear transparent in previews.
 Set this to something unusual when using `preview-transparent-border',

_______________________________________________
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to