unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kester Clegg <kester@cs.york.ac.uk>
Subject: key binding two commands
Date: 21 Nov 2003 09:11:48 +0000	[thread overview]
Message-ID: <yqrvfpeozl7.fsf@cs.york.ac.uk> (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
************************************************************************

             reply	other threads:[~2003-11-21  9:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-21  9:11 Kester Clegg [this message]
2003-11-21  9:49 ` key binding two commands Reiner Steib
2003-11-21 11:50   ` Kester Clegg
2003-11-21 16:49   ` Kevin Rodgers
2003-11-25 14:11   ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yqrvfpeozl7.fsf@cs.york.ac.uk \
    --to=kester@cs.york.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).