all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: 36512@debbugs.gnu.org
Subject: bug#36512: [PATCH] Remove leftover XEmacs compat code from goto-addr.el
Date: Fri, 5 Jul 2019 16:37:10 +0200	[thread overview]
Message-ID: <CADwFkm=QoR7Kqr4XnTnwmoLODiX048DvCjc0CMQQJhUxYnJiFw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 160 bytes --]

In commit dee0ed52, XEmacs compat code was removed from goto-addr.el.

The attached patch removes some leftover lines to finish the job.

Thanks,
Stefan Kangas

[-- Attachment #2: 0001-lisp-net-goto-addr.el-Remove-leftover-XEmacs-compat-.patch --]
[-- Type: text/x-patch, Size: 1054 bytes --]

From 7ee1a2aa0b19486c86d75bdd9302ae48905c2c8a Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Fri, 5 Jul 2019 16:29:32 +0200
Subject: [PATCH] * lisp/net/goto-addr.el: Remove leftover XEmacs compat code.

---
 lisp/net/goto-addr.el | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el
index eaa1356955..40a067e625 100644
--- a/lisp/net/goto-addr.el
+++ b/lisp/net/goto-addr.el
@@ -63,16 +63,6 @@
 (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
-- 
2.11.0


             reply	other threads:[~2019-07-05 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05 14:37 Stefan Kangas [this message]
2019-07-06  9:01 ` bug#36512: [PATCH] Remove leftover XEmacs compat code from goto-addr.el Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=QoR7Kqr4XnTnwmoLODiX048DvCjc0CMQQJhUxYnJiFw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=36512@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.