Commit 5943195a authored by Simon Marshall's avatar Simon Marshall
Browse files

remove references in comments to long defunct make-shell.

parent 6abd38ef
...@@ -506,8 +506,6 @@ BUFFER can be either a buffer or the name of one." ...@@ -506,8 +506,6 @@ BUFFER can be either a buffer or the name of one."
(let ((proc (get-buffer-process buffer))) (let ((proc (get-buffer-process buffer)))
(and proc (memq (process-status proc) '(open run stop))))) (and proc (memq (process-status proc) '(open run stop)))))
;; Note that this guy, unlike shell.el's make-shell, barfs if you pass it ()
;; for the second argument (program).
;;;###autoload ;;;###autoload
(defun make-comint (name program &optional startfile &rest switches) (defun make-comint (name program &optional startfile &rest switches)
"Make a comint process NAME in a buffer, running PROGRAM. "Make a comint process NAME in a buffer, running PROGRAM.
...@@ -2194,12 +2192,6 @@ Typing SPC flushes the help buffer." ...@@ -2194,12 +2192,6 @@ Typing SPC flushes the help buffer."
;; (run-hooks 'shell-mode-hook)) ;; (run-hooks 'shell-mode-hook))
;; ;;
;; ;;
;; Note that make-comint is different from make-shell in that it
;; doesn't have a default program argument. If you give make-shell
;; a program name of NIL, it cleverly chooses one of explicit-shell-name,
;; $ESHELL, $SHELL, or /bin/sh. If you give make-comint a program argument
;; of NIL, it barfs. Adjust your code accordingly...
;;
;; Completion for comint-mode users ;; Completion for comint-mode users
;; ;;
;; For modes that use comint-mode, comint-dynamic-complete-functions is the ;; For modes that use comint-mode, comint-dynamic-complete-functions is the
......
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