summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-04-28 19:48:33 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2021-04-28 19:49:17 +0200
commit2ef1bebc09676652daaaab9b14e11f79067439ed (patch)
treeadf64d3646d7a9f06a7f1e9d72f5dd857fbdf4c4
parentcdd215dbb285021b1c55d5e25c6b7b39dde767c6 (diff)
Use italic face for "No match" message
-rw-r--r--README.org2
-rw-r--r--corfu.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.org b/README.org
index 1218f53..ff30112 100644
--- a/README.org
+++ b/README.org
@@ -10,7 +10,7 @@
Corfu enhances the default completion in region function with a completion
overlay. The current candidates are shown in a popup below or above the point.
-Corfu can be considered the minimalistic completion-in-region counterpart of the
+Corfu can be considered the minimalistic ~completion-in-region~ counterpart of the
[[https://github.com/minad/vertico][Vertico]] minibuffer UI.
Icomplete implements both completion-in-region and minibuffer completion in a
diff --git a/corfu.el b/corfu.el
index cb85ba5..eccc628 100644
--- a/corfu.el
+++ b/corfu.el
@@ -56,7 +56,7 @@
"Enable cycling for `corfu-next' and `corfu-previous'."
:type 'boolean)
-(defcustom corfu-confirm "(No match)"
+(defcustom corfu-confirm (propertize "No match" 'face 'italic)
"Show this confirmation string if there is no match.
Set to nil in order to disable confirmation."
:type '(choice (const nil) string))
@@ -76,7 +76,7 @@ Set to nil in order to disable confirmation."
(((class color) (min-colors 88) (background light))
:background "#ffe" :inherit default)
(t :background "gray" :foreground "black" :inherit default))
- "Face used to for the overlay background.")
+ "Face used to for the popup background.")
(defface corfu-current
'((((class color) (min-colors 88) (background dark))