diff options
| author | Colin Walters | 2002-03-11 21:12:49 +0000 |
|---|---|---|
| committer | Colin Walters | 2002-03-11 21:12:49 +0000 |
| commit | 22c663ed24a4a95f6c5e4f83d10ff1f0863b56af (patch) | |
| tree | 3276bd0fe0f1e381ac6bf61883a94a845e2b2014 | |
| parent | ff955d900086e87fc3d356c7e70848e480f592e8 (diff) | |
| download | emacs-22c663ed24a4a95f6c5e4f83d10ff1f0863b56af.tar.gz emacs-22c663ed24a4a95f6c5e4f83d10ff1f0863b56af.zip | |
Remove documentation on setting up pcomplete.
| -rw-r--r-- | lisp/comint.el | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 3654149b651..c73ccfb3951 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -56,34 +56,6 @@ | |||
| 56 | ;; For further information on the standard derived modes (shell, | 56 | ;; For further information on the standard derived modes (shell, |
| 57 | ;; inferior-lisp, inferior-scheme, ...), see the relevant source files. | 57 | ;; inferior-lisp, inferior-scheme, ...), see the relevant source files. |
| 58 | 58 | ||
| 59 | |||
| 60 | ;; To give your mode support for the programmable, dynamic completion | ||
| 61 | ;; facility in "pcomplete.el", you should define two functions in the | ||
| 62 | ;; following form, replacing <MODE> with the prefix of your mode: | ||
| 63 | |||
| 64 | ;; (defvar <MODE>-pcomplete-setup-p nil) | ||
| 65 | ;; (defun <MODE>-pcomplete () | ||
| 66 | ;; "Cycle forwards through completions at point, using `pcomplete'. | ||
| 67 | ;; This function merely invokes `pcomplete', after ensuring this buffer | ||
| 68 | ;; is set up for it." | ||
| 69 | ;; (interactive) | ||
| 70 | ;; (unless (prog1 <MODE>-pcomplete-setup-p | ||
| 71 | ;; (setq <MODE>-pcomplete-setup-p t)) | ||
| 72 | ;; (pcomplete-comint-setup '<MODE>-dynamic-complete-functions)) | ||
| 73 | ;; (setq this-command 'pcomplete) | ||
| 74 | ;; (call-interactively #'pcomplete)) | ||
| 75 | |||
| 76 | ;; (defun <MODE>-pcomplete-reverse () | ||
| 77 | ;; "Cycle backwards through completions at point, using `pcomplete'. | ||
| 78 | ;; This function merely invokes `pcomplete-reverse', after ensuring this | ||
| 79 | ;; buffer is set up for it." | ||
| 80 | ;; (interactive) | ||
| 81 | ;; (unless (prog1 <MODE>-pcomplete-setup-p | ||
| 82 | ;; (setq <MODE>-pcomplete-setup-p t)) | ||
| 83 | ;; (pcomplete-comint-setup '<MODE>-dynamic-complete-functions)) | ||
| 84 | ;; (setq this-command 'pcomplete-reverse) | ||
| 85 | ;; (call-interactively #'pcomplete-reverse)) | ||
| 86 | |||
| 87 | ;; For hints on converting existing process modes (e.g., tex-mode, | 59 | ;; For hints on converting existing process modes (e.g., tex-mode, |
| 88 | ;; background, dbx, gdb, kermit, prolog, telnet) to use comint-mode | 60 | ;; background, dbx, gdb, kermit, prolog, telnet) to use comint-mode |
| 89 | ;; instead of shell-mode, see the notes at the end of this file. | 61 | ;; instead of shell-mode, see the notes at the end of this file. |