Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d86e0c59
Commit
d86e0c59
authored
Aug 05, 2002
by
John Wiegley
Browse files
(pcomplete-entries): Don't set `above-cutoff' to a value unless
pcomplete-cycle-cutoff-length is non-nil.
parent
86d98c33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/pcomplete.el
lisp/pcomplete.el
+3
-2
No files found.
lisp/pcomplete.el
View file @
d86e0c59
...
@@ -735,8 +735,9 @@ component, DEFAULT-DIRECTORY is used as the basis for completion."
...
@@ -735,8 +735,9 @@ component, DEFAULT-DIRECTORY is used as the basis for completion."
(
string-match
pcomplete-dir-ignore
file
))
(
string-match
pcomplete-dir-ignore
file
))
(
and
pcomplete-file-ignore
(
and
pcomplete-file-ignore
(
string-match
pcomplete-file-ignore
file
))))))))
(
string-match
pcomplete-file-ignore
file
))))))))
(
setq
above-cutoff
(
>
(
length
completions
)
(
setq
above-cutoff
(
and
pcomplete-cycle-cutoff-length
pcomplete-cycle-cutoff-length
))
(
>
(
length
completions
)
pcomplete-cycle-cutoff-length
)))
(
sort
completions
(
sort
completions
(
function
(
function
(
lambda
(
l
r
)
(
lambda
(
l
r
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment