]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/goto-addr.el: Remove leftover XEmacs compat code. (Bug#36512)
authorStefan Kangas <stefankangas@gmail.com>
Fri, 5 Jul 2019 14:29:32 +0000 (16:29 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Jul 2019 08:59:41 +0000 (11:59 +0300)
lisp/net/goto-addr.el

index eaa1356955af34f2b48d9008882f4af3e5753d5f..40a067e6251b9952ed249baae43317f59433ac08 100644 (file)
 (require 'thingatpt)
 (autoload 'browse-url-url-at-point "browse-url")
 
-;; XEmacs needs the following definitions.
-(unless (fboundp 'overlays-in)
-  (require 'overlay))
-(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 'match-string-no-properties)
-  (defalias 'match-string-no-properties 'match-string))
-
 (defgroup goto-address nil
   "Click to browse URL or to send to e-mail address."
   :group 'mouse