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

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

Preventing C-h (help-command) from deactivating the mark?


From: egarrulo
Subject: Preventing C-h (help-command) from deactivating the mark?
Date: Fri, 4 Mar 2016 15:45:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

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 via email to

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