Thanks to Robert Pluim I rewrote some of the goto-addr.el stuff:
;; 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))
Alex.
Alex Schroeder <alex(a)gnu.org> writes:
;; XEmacs needs the following definitions.
(unless (fboundp 'overlays-in)
(require 'overlay))
(unless (fboundp 'line-beginning-position)
(defun line-beginning-position ()
"Compatibility function."
(save-excursion
(beginning-of-line)
(point))))
(unless (fboundp 'line-end-position)
(defun line-end-position ()
"Compatibility function."
(save-excursion
(end-of-line)
(point))))
(unless (fboundp 'match-string-no-properties)
(defalias 'match-string-no-properties 'match-string))
--
http://www.geocities.com/kensanata/emacs.html
"Emacs 21 will be out when it comes out. No beta available."