emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using pcomplete for comint.el/shell.el


From: Richard Stallman
Subject: Re: using pcomplete for comint.el/shell.el
Date: Sun, 17 Feb 2002 09:48:17 -0700 (MST)

    +(defun minibuffer-shell-complete ()
    +  "Complete current minibuffer input as a shell command."
    +  (interactive)
    +  (require 'shell)
    +  (pcomplete-shell-setup)
    +  (let ((comint-dynamic-complete-functions 
shell-dynamic-complete-functions))
    +    (call-interactively 'comint-dynamic-complete)))

We might want to see if we could move comint-dynamic-complete and its
mechanisms into a separate file, so that using this command won't load
all of comint.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]