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
060a33bb
Commit
060a33bb
authored
Oct 26, 2004
by
Richard M. Stallman
Browse files
(pcomplete): Instead of interactive-p,
use an arg set non-nil by the interactive spec.
parent
da67fa9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/pcomplete.el
lisp/pcomplete.el
+3
-3
No files found.
lisp/pcomplete.el
View file @
060a33bb
...
...
@@ -347,12 +347,12 @@ modified to be an empty string, or the desired separation string."
;;; User Functions:
;;;###autoload
(
defun
pcomplete
()
(
defun
pcomplete
(
&optional
interactively
)
"Support extensible programmable completion.
To use this function, just bind the TAB key to it, or add it to your
completion functions list (it should occur fairly early in the list)."
(
interactive
)
(
if
(
and
(
interactive
-p
)
(
interactive
"p"
)
(
if
(
and
interactive
ly
pcomplete-cycle-completions
pcomplete-current-completions
(
memq
last-command
'
(
pcomplete
...
...
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