diff options
| -rw-r--r-- | lisp/icomplete.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 6ed2cbe395c..e6fdd1f1836 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el | |||
| @@ -427,7 +427,10 @@ if that doesn't produce a completion match." | |||
| 427 | for (cat . alist) in completion-category-defaults collect | 427 | for (cat . alist) in completion-category-defaults collect |
| 428 | `(,cat . ,(cl-loop | 428 | `(,cat . ,(cl-loop |
| 429 | for entry in alist for (prop . val) = entry | 429 | for entry in alist for (prop . val) = entry |
| 430 | if (eq prop 'styles) | 430 | if (and (eq prop 'styles) |
| 431 | ;; Never step in front of 'external', as that | ||
| 432 | ;; might lose us completions. | ||
| 433 | (not (memq 'external val))) | ||
| 431 | collect `(,prop . (flex ,@(delq 'flex val))) | 434 | collect `(,prop . (flex ,@(delq 'flex val))) |
| 432 | else collect entry)))) | 435 | else collect entry)))) |
| 433 | 436 | ||