]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove XEmacs support from bookmark.el
authorStefan Kangas <stefankangas@gmail.com>
Thu, 13 Jun 2019 14:02:39 +0000 (16:02 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 14:02:39 +0000 (16:02 +0200)
* lisp/bookmark.el (bookmark-store): Remove XEmacs compat code
(bug#36189).

lisp/bookmark.el

index 5a9859d83df342cd7a32d4aad31bf01fe7fbccd2..e630771eb5fe08c26e15d79de641b727ef9c9b22 100644 (file)
@@ -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