]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix prompt in bookmark.el (Bug#24726)
authorAllen Li <darkfeline@felesatra.moe>
Sat, 8 Apr 2017 22:21:12 +0000 (15:21 -0700)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 6 Jun 2018 00:29:22 +0000 (20:29 -0400)
* lisp/bookmark.el (bookmark-set-internal): Conform to the standard
default prompt format (per `minibuffer-electric-default-mode') which
does not use a colon.

lisp/bookmark.el

index 70b63a22b87812a1da03e105dfab7884fe5dd512..1a2ec1eb6677f6f910b5df15071690b5891674a1 100644 (file)
@@ -802,7 +802,7 @@ is ever deleted."
          (let ((str
                 (or name
                     (read-from-minibuffer
-                     (format "%s (default: \"%s\"): " prompt default)
+                     (format "%s (default \"%s\"): " prompt default)
                      nil
                      bookmark-minibuffer-read-name-map
                      nil nil defaults))))