emacs-diffs
[Top][All Lists]
Advanced

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

master a459e52 02/11: Remove some compat code from idlwave.el


From: Lars Ingebrigtsen
Subject: master a459e52 02/11: Remove some compat code from idlwave.el
Date: Wed, 12 Aug 2020 12:59:53 -0400 (EDT)

branch: master
commit a459e5256c2cf2a313db503c2b3f565b03694332
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remove some compat code from idlwave.el
    
    * lisp/progmodes/idlwave.el: Remove some checks for functions that
    always exist.
---
 lisp/progmodes/idlwave.el | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index f4eb2be..f7e53ec 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -154,21 +154,6 @@
 (eval-when-compile (require 'cl-lib))
 (require 'idlw-help)
 
-;; For XEmacs
-(unless (fboundp 'line-beginning-position)
-  (defalias 'line-beginning-position 'point-at-bol))
-(unless (fboundp 'line-end-position)
-  (defalias 'line-end-position 'point-at-eol))
-(unless (fboundp 'char-valid-p)
-  (defalias 'char-valid-p 'characterp))
-(unless (fboundp 'match-string-no-properties)
-  (defalias 'match-string-no-properties 'match-string))
-
-(if (not (fboundp 'cancel-timer))
-    (condition-case nil
-       (require 'timer)
-      (error nil)))
-
 (declare-function idlwave-shell-get-path-info "idlw-shell")
 (declare-function idlwave-shell-temp-file "idlw-shell")
 (declare-function idlwave-shell-is-running "idlw-shell")



reply via email to

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