unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: 36189@debbugs.gnu.org
Subject: bug#36189: [PATCH] Remove XEmacs support from bookmark.el
Date: Thu, 13 Jun 2019 14:29:08 +0200	[thread overview]
Message-ID: <CADwFkm=CrxtqbnXyeYHHSOddA5aixqkhCBBhEeW1e0rVeUjnRw@mail.gmail.com> (raw)

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

This removes XEmacs support from bookmark.el.

Thanks,
Stefan Kangas

[-- Attachment #2: 0001-Remove-XEmacs-support-from-bookmark.el.patch --]
[-- Type: application/octet-stream, Size: 1063 bytes --]

From 77d721a8c0c2bca139ed0b4144060f5965997689 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Thu, 13 Jun 2019 14:25:58 +0200
Subject: [PATCH] Remove XEmacs support from bookmark.el

* lisp/bookmark.el (bookmark-store): Remove XEmacs compat code.
---
 lisp/bookmark.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 5a9859d83d..e630771eb5 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -502,10 +502,7 @@ bookmark-store
 old one."
   (bookmark-maybe-load-default-file)
   (let ((stripped-name (copy-sequence name)))
-    (or (featurep 'xemacs)
-        ;; XEmacs's `set-text-properties' doesn't work on
-        ;; free-standing strings, apparently.
-        (set-text-properties 0 (length stripped-name) nil stripped-name))
+    (set-text-properties 0 (length stripped-name) nil stripped-name)
     (if (and (not no-overwrite)
              (bookmark-get-bookmark stripped-name 'noerror))
         ;; already existing bookmark under that name and
-- 
2.21.0


             reply	other threads:[~2019-06-13 12:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-13 12:29 Stefan Kangas [this message]
2019-06-13 14:02 ` bug#36189: [PATCH] Remove XEmacs support from bookmark.el Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CADwFkm=CrxtqbnXyeYHHSOddA5aixqkhCBBhEeW1e0rVeUjnRw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=36189@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).