aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2020-04-18 07:50:18 -0700
committerGlenn Morris2020-04-18 07:50:18 -0700
commit2a4cb2459b7c72ea66762a4f62ae8f0a31dec8e3 (patch)
treecf05c8b21be9385aad003c3409530c138cfa5404
parenta6c391080b04d21386136f1a36011284f41ae6ea (diff)
parent145a151d62681bb8dda2515652b936c7b3a33877 (diff)
downloademacs-2a4cb2459b7c72ea66762a4f62ae8f0a31dec8e3.tar.gz
emacs-2a4cb2459b7c72ea66762a4f62ae8f0a31dec8e3.zip
Merge from origin/emacs-27
145a151d62 Correct Fido-mode's backspacing of directories with spaces 660b9b8cfb Default completion-flex-nospace to nil fb5f616ae8 Improve an example in w32 FAQ
-rw-r--r--doc/misc/efaq-w32.texi9
-rw-r--r--lisp/icomplete.el3
-rw-r--r--lisp/minibuffer.el2
3 files changed, 9 insertions, 5 deletions
diff --git a/doc/misc/efaq-w32.texi b/doc/misc/efaq-w32.texi
index 02e63c7e463..83dd176f984 100644
--- a/doc/misc/efaq-w32.texi
+++ b/doc/misc/efaq-w32.texi
@@ -942,10 +942,13 @@ To find the XFLD name for a font, you can execute the following in the
942(x-select-font nil t) 942(x-select-font nil t)
943@end example 943@end example
944 944
945To see a complete list of fonts, execute the following in the 945To see a complete list of fonts, execute the following Lisp snippet by
946@file{*scratch*} buffer by pressing C-x C-e at the end of the line: 946typing it into the @file{*scratch*} buffer and pressing @w{@kbd{C-x
947C-e}} at the end of the second line:
948
947@example 949@example
948(insert (prin1-to-string (x-list-fonts "*"))) 950(dolist (font (x-list-fonts "*"))
951 (insert (format "%s\n" font)))
949@end example 952@end example
950 953
951The command line options and frame-parameters for changing the default font 954The command line options and frame-parameters for changing the default font
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 66bc731f67f..c12f3901f09 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -300,7 +300,7 @@ if that doesn't produce a completion match."
300 (interactive) 300 (interactive)
301 (if (and (eq (char-before) ?/) 301 (if (and (eq (char-before) ?/)
302 (eq (icomplete--category) 'file)) 302 (eq (icomplete--category) 'file))
303 (backward-kill-sexp 1) 303 (zap-up-to-char -1 ?/)
304 (call-interactively 'backward-delete-char))) 304 (call-interactively 'backward-delete-char)))
305 305
306(defvar icomplete-fido-mode-map 306(defvar icomplete-fido-mode-map
@@ -329,6 +329,7 @@ if that doesn't produce a completion match."
329 icomplete-show-matches-on-no-input t 329 icomplete-show-matches-on-no-input t
330 icomplete-hide-common-prefix nil 330 icomplete-hide-common-prefix nil
331 completion-styles '(flex) 331 completion-styles '(flex)
332 completion-flex-nospace nil
332 completion-category-defaults nil))) 333 completion-category-defaults nil)))
333 334
334;;;###autoload 335;;;###autoload
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 3c8202c7eb9..6090e3f74ed 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -3611,7 +3611,7 @@ that is non-nil."
3611;;; "flex" completion, also known as flx/fuzzy/scatter completion 3611;;; "flex" completion, also known as flx/fuzzy/scatter completion
3612;; Completes "foo" to "frodo" and "farfromsober" 3612;; Completes "foo" to "frodo" and "farfromsober"
3613 3613
3614(defcustom completion-flex-nospace t 3614(defcustom completion-flex-nospace nil
3615 "Non-nil if `flex' completion rejects spaces in search pattern." 3615 "Non-nil if `flex' completion rejects spaces in search pattern."
3616 :version "27.1" 3616 :version "27.1"
3617 :type 'boolean) 3617 :type 'boolean)