aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/vmsproc.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/vmsproc.el b/lisp/vmsproc.el
index 649d3a22534..40e7f468aaf 100644
--- a/lisp/vmsproc.el
+++ b/lisp/vmsproc.el
@@ -44,7 +44,7 @@
44 map)) 44 map))
45 45
46(defun subprocess-input (name str) 46(defun subprocess-input (name str)
47 "Handles input from a subprocess. Called by Emacs." 47 "Handle input from a subprocess. Called by Emacs."
48 (if display-subprocess-window 48 (if display-subprocess-window
49 (display-buffer subprocess-buf)) 49 (display-buffer subprocess-buf))
50 (with-current-buffer subprocess-buf 50 (with-current-buffer subprocess-buf
@@ -56,7 +56,7 @@
56 (setq subprocess-running nil)) 56 (setq subprocess-running nil))
57 57
58(defun start-subprocess () 58(defun start-subprocess ()
59 "Spawns an asynchronous subprocess with output redirected to 59 "Spawn an asynchronous subprocess with output redirected to
60the buffer *COMMAND*. Within this buffer, use C-m to send 60the buffer *COMMAND*. Within this buffer, use C-m to send
61the last line to the subprocess or to bring another line to 61the last line to the subprocess or to bring another line to
62the end." 62the end."
@@ -98,7 +98,7 @@ the end."
98 ;; (delete-file output-filename)))) 98 ;; (delete-file output-filename))))
99 99
100(defun subprocess-command () 100(defun subprocess-command ()
101 "Starts asynchronous subprocess if not running and switches to its window." 101 "Start asynchronous subprocess if not running and switch to its window."
102 (interactive) 102 (interactive)
103 (if (not subprocess-running) 103 (if (not subprocess-running)
104 (start-subprocess)) 104 (start-subprocess))
@@ -106,8 +106,8 @@ the end."
106 (progn (pop-to-buffer subprocess-buf) (goto-char (point-max))))) 106 (progn (pop-to-buffer subprocess-buf) (goto-char (point-max)))))
107 107
108(defun command-send-input () 108(defun command-send-input ()
109 "If at last line of buffer, sends the current line to 109 "If at last line of buffer, send the current line to
110the spawned subprocess. Otherwise brings back current 110the spawned subprocess. Otherwise bring back current
111line to the last line for resubmission." 111line to the last line for resubmission."
112 (interactive) 112 (interactive)
113 (beginning-of-line) 113 (beginning-of-line)
@@ -134,7 +134,7 @@ line to the last line for resubmission."
134 current-line))))) 134 current-line)))))
135 135
136(defun command-kill-line () 136(defun command-kill-line ()
137 "Kills the current line. Used in command mode." 137 "Kill the current line. Used in command mode."
138 (interactive) 138 (interactive)
139 (beginning-of-line) 139 (beginning-of-line)
140 (kill-line)) 140 (kill-line))