[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CUA & (mark-sexp -1) changed behavior.
From: |
Kim F. Storm |
Subject: |
Re: CUA & (mark-sexp -1) changed behavior. |
Date: |
Wed, 30 Mar 2005 00:38:34 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Bielawski, Richard G." <address@hidden> writes:
> A few weeks ago (mark-sexp -1) changed behavior in CUA mode.
This is not related to cua mode.
>
> I've got this key mapped.
>
> (global-set-key [?\C-\M- ] '(lambda ()(interactive)(mark-sexp -1)))
mark-sexp has been changed to only allow extending the region when
called interactively.
In Lisp code, this is specified by a second non-nil argument like
this:
(global-set-key [?\C-\M- ] '(lambda ()(interactive)(mark-sexp -1 t)))
--
Kim F. Storm <address@hidden> http://www.cua.dk