mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 21:07:36 +00:00
Remove some compat code from idlwave.el
* lisp/progmodes/idlwave.el: Remove some checks for functions that always exist.
This commit is contained in:
parent
51ea541710
commit
a459e5256c
1 changed files with 0 additions and 15 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue