all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: How to deactivate mark?
Date: Wed, 07 Apr 2010 12:51:45 +0200	[thread overview]
Message-ID: <8763435yda.fsf@fh-trier.de> (raw)
In-Reply-To: hphm4p$o2l$1@north.jnrs.ja.net

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


      reply	other threads:[~2010-04-07 10:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-06 11:44 How to deactivate mark? Uday S Reddy
2010-04-06 19:46 ` Harald Hanche-Olsen
2010-04-07 10:18   ` Uday S Reddy
2010-04-07 10:51     ` Andreas Politz [this message]

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

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

  git send-email \
    --in-reply-to=8763435yda.fsf@fh-trier.de \
    --to=politza@fh-trier.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.