unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* key binding two commands
@ 2003-11-21  9:11 Kester Clegg
  2003-11-21  9:49 ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: Kester Clegg @ 2003-11-21  9:11 UTC (permalink / raw)



Trying to bind C-c C-c so that while I'm editing latex files with auctex
it will save each time I compile the file.

I have:

(defun save-and-compileTex () ; automatic save and compile
  (save-buffer)
  (TeX-command-master))

(global-set-key "\C-c \C-c" 'save-and-compileTex) 

but it doesn't work.  What's wrong?


-- 
************************************************************************
Kester Clegg				Dept. of Computer Science,
Research Assistant (UTC)		University of York, 
Tel (01904) 43 27 49			email: kester at cs.york.ac.uk
************************************************************************

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-25 14:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-21  9:11 key binding two commands Kester Clegg
2003-11-21  9:49 ` Reiner Steib
2003-11-21 11:50   ` Kester Clegg
2003-11-21 16:49   ` Kevin Rodgers
2003-11-25 14:11   ` Reiner Steib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).