[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to deactivate mark?
From: |
Andreas Politz |
Subject: |
Re: How to deactivate mark? |
Date: |
Tue, 04 May 2010 15:44:12 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Uday S Reddy <uDOTsDOTreddy@cs.bham.ac.uk> writes:
> Harald Hanche-Olsen wrote:
>
>> Adding (deactivate-mark) to the end of your definition works for me. Did
>> you forget to evaluate the defun after adding this bit? (I forget it all
>> the time.)
>
> Yes, I must have forgotten to eval the defun. Thank you.
>
> I also discovered that setting the variable `deactivate-mark' to t
> (instead of binding it locally) works as well.
>
> Cheers,
> Uday
In case you don't know : There is a already a function
`narrow-to-defun'.
-ap