aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorGlenn Morris2015-04-16 08:32:38 -0700
committerGlenn Morris2015-04-16 08:32:38 -0700
commit3ab1784327d4d40b3e6bc3a14323740c9a62fa16 (patch)
tree6ffd932bcd441d57ad675545ab73b86524412da1 /lisp/replace.el
parent6f0b4d81b94ef392b2a7517db94398f20378f444 (diff)
downloademacs-3ab1784327d4d40b3e6bc3a14323740c9a62fa16.tar.gz
emacs-3ab1784327d4d40b3e6bc3a14323740c9a62fa16.zip
* lisp/replace.el (query-replace-from-to-separator): Delay initialization
to avoid rogue setting after startup.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 70b86dd2016..8e71615ca14 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -68,14 +68,12 @@ to the minibuffer that reads the string to replace, or invoke replacements
68from Isearch by using a key sequence like `C-s C-s M-%'." "24.3") 68from Isearch by using a key sequence like `C-s C-s M-%'." "24.3")
69 69
70(defcustom query-replace-from-to-separator 70(defcustom query-replace-from-to-separator
71 (propertize 71 (propertize (if (char-displayable-p ?\u2192) " \u2192 " " -> ")
72 (or (ignore-errors 72 'face 'minibuffer-prompt)
73 ;; Ignore errors when attempt to autoload char-displayable-p
74 ;; fails while preparing to dump.
75 (if (char-displayable-p ?\u2192) " \u2192 " " -> "))
76 " -> ")
77 'face 'minibuffer-prompt)
78 "String that separates FROM and TO in the history of replacement pairs." 73 "String that separates FROM and TO in the history of replacement pairs."
74 ;; Avoids error when attempt to autoload char-displayable-p fails
75 ;; while preparing to dump, also stops customize-rogue listing this.
76 :initialize 'custom-initialize-delay
79 :group 'matching 77 :group 'matching
80 :type 'sexp 78 :type 'sexp
81 :version "25.1") 79 :version "25.1")