help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: start-process and set-process-filter sequence


From: William Xu
Subject: Re: start-process and set-process-filter sequence
Date: Fri, 15 Apr 2011 10:21:04 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

   The real problem is: 
   why do you want to setq a to nil at this time?

Just for initialize/reset `a' in the testing.  You can move it to the
beginning of `prog1', like: 

  (progn
    (setq a nil)
    (prog1
        (start-process "ls" "ls" "ls")
      (read-string "Mood: ")
      (set-process-filter (get-process "ls") 'foo)))
  
But that is not important here..  

-- 
William

http://xwl.appspot.com




reply via email to

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