From: David Kågedal Date: Thu, 30 Oct 2008 14:57:38 GMT Subject: Re: [StGit PATCH 1/3] stgit.el: Added undo command Message-ID: <87skqe9llp.fsf@krank.kagedal.org> In-Reply-To: <20081030115716.GA19360@diana.vm.bytemark.co.uk> Karl Hasselström writes: > On 2008-10-30 10:52:48 +0100, David Kågedal wrote: > >> Bound it to the two standard bindings C-/ and C-_. > >> + (define-key stgit-mode-map [(control ?/)] 'stgit-undo) >> + (define-key stgit-mode-map "\C-_" 'stgit-undo)) > > Hmm, why do you spell control in two different ways? I usually use the "\C-x" syntax, but for some reason that didn't work with "\C-/", so I used another syntax. I'm not sure how compatible that is with XEmacs, though. -- David Kågedal