emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; Input history and simplifications for ps-mode.el


From: Markus Triska
Subject: Re: 23.0.60; Input history and simplifications for ps-mode.el
Date: Thu, 05 Jun 2008 01:22:37 +0200

On top of the previous patch, please apply the following to make it work
correctly if the command has additional parameters:

diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el
index 9cd9019..9eff050 100644
--- a/lisp/progmodes/ps-mode.el
+++ b/lisp/progmodes/ps-mode.el
@@ -1023,7 +1023,7 @@ This mode is invoked from `ps-mode' and should not be 
called directly.
     (erase-buffer)
     (setq command (append command init-file))
     (insert (mapconcat 'identity command " ") "\n")
-    (apply 'make-comint "ps-run" command)
+    (apply 'make-comint "ps-run" (car command) nil (cdr command))
     (with-current-buffer "*ps-run*"
       (use-local-map ps-run-mode-map)
       (setq comint-prompt-regexp ps-run-prompt))





reply via email to

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