[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 4ec926d 1/2: Remove XEmacs support from bookmark.el
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 4ec926d 1/2: Remove XEmacs support from bookmark.el |
Date: |
Thu, 13 Jun 2019 10:05:26 -0400 (EDT) |
branch: master
commit 4ec926dc033f1de81c05c19a2254c8a2bd1a042a
Author: Stefan Kangas <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Remove XEmacs support from bookmark.el
* lisp/bookmark.el (bookmark-store): Remove XEmacs compat code
(bug#36189).
---
lisp/bookmark.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 5a9859d..e630771 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -502,10 +502,7 @@ exists in `bookmark-alist', record the new bookmark
without throwing away the
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