unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: egarrulo <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Preventing C-h (help-command) from deactivating the mark?
Date: Fri, 4 Mar 2016 15:45:37 +0100	[thread overview]
Message-ID: <djtlcjFan1fU1@mid.individual.net> (raw)

How to reproduce:
- emacs -Q
- mark some text in *scratch*
- C-h c M-c
- Emacs deactivates the mark and I wish to avoid this.

I would have wrapped `help-command' to bind `deactivate-mark' to nil, 
but Emacs can't find where `help-command' is defined.  Indeed, `help.el' 
defines it as:

(fset 'help-command help-map)

How can I write a wrapper around `help-command'?  Thanks.


             reply	other threads:[~2016-03-04 14:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04 14:45 egarrulo [this message]
2016-03-04 15:31 ` Preventing C-h (help-command) from deactivating the mark? Barry Margolin
2016-03-04 15:47 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=djtlcjFan1fU1@mid.individual.net \
    --to=egarrulo@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).