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

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

How send answer to question a function asks automatically?


From: Christian Seberino
Subject: How send answer to question a function asks automatically?
Date: 18 Sep 2003 15:12:48 -0700

I want to create a function that calls (server-edit) for me and avoids asking
me if I want to save the file because it defaults to YES!

   (defun cs-server-edit() (interactive)
      (server-edit "y"))
 
I've seen this work on other functions but you can't seem to be able to
add the string next to the function call with server-edit.

Any help would be greatly appreciated.

Sincerely,

Chris


reply via email to

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