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

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

Re: Help: execute scripts form emacs


From: Andreas Politz
Subject: Re: Help: execute scripts form emacs
Date: Wed, 14 Oct 2009 01:10:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Maurizio Vitale
<address@hidden> writes:

>>>>>> "wdysun" == wdysun  <address@hidden> writes:
[how to run a shellscript]
> You can do two things:
>

Here is one more thing to do.

(defun mytex ()
  (interactive)
  (or buffer-file-name
      (call-interactively 'save-buffer))
  (shell-command
   (format "mytex '%s'" buffer-file-name)))

-ap





reply via email to

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