X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/88bc8332eb14bcc4780fd3fe3dd4de2205c31dbf..6445ee0fb751ae2c1dfef900d44721b3d952812f:/lisp/replace.el diff --git a/lisp/replace.el b/lisp/replace.el index e0636e0728..8e71615ca1 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 from Isearch by using a key sequence like `C-s C-s M-%'." "24.3") (defcustom query-replace-from-to-separator - (propertize - (or (ignore-errors - ;; Ignore errors when attempt to autoload char-displayable-p - ;; fails while preparing to dump. - (if (char-displayable-p ?\u2192) " \u2192 " " -> ")) - " -> ") - 'face 'minibuffer-prompt) + (propertize (if (char-displayable-p ?\u2192) " \u2192 " " -> ") + 'face 'minibuffer-prompt) "String that separates FROM and TO in the history of replacement pairs." + ;; Avoids error when attempt to autoload char-displayable-p fails + ;; while preparing to dump, also stops customize-rogue listing this. + :initialize 'custom-initialize-delay :group 'matching :type 'sexp :version "25.1") @@ -1369,7 +1367,7 @@ See also `multi-occur-in-matching-buffers'." (ido-ignore-item-temp-list bufs)) (while (not (string-equal (setq buf (read-buffer - (if (eq read-buffer-function 'ido-read-buffer) + (if (eq read-buffer-function #'ido-read-buffer) "Next buffer to search (C-j to end): " "Next buffer to search (RET to end): ") nil t))