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

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

Re: indent-according-to-mode


From: Kevin Rodgers
Subject: Re: indent-according-to-mode
Date: Tue, 01 Aug 2006 09:30:28 -0600
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Gary Wessle wrote:
Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

Gary Wessle <phddas@yahoo.com> writes:

indent-according-to-mode is only for a line (check it out: C-h f when
the cursor is over the function name).

how can I get this function to work on a region?
M-C-\ (C-h k M-C-\)

or the whole buffer?
C-x h M-C-\

this in my .emacs is causing a problem, could you point it out?

thanks

(global-set-key [f5] (kbd "M-h M-C-\"))

The backslash escapes the following double quote, so you've got an
unterminated string.  You need to escape the backslash with another
backslash:

(global-set-key [f5] (kbd "M-h M-C-\\"))

--
Kevin





reply via email to

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