Commit 060a33bb authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(pcomplete): Instead of interactive-p,

use an arg set non-nil by the interactive spec.
parent da67fa9a
......@@ -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 interactively
pcomplete-cycle-completions
pcomplete-current-completions
(memq last-command '(pcomplete
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment