all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `self-insert-uses-region-functions'?
@ 2014-07-23 17:26 Drew Adams
  2014-07-23 17:29 ` `self-insert-uses-region-functions'? Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2014-07-23 17:26 UTC (permalink / raw)
  To: emacs-devel

What can anyone tell me about this symbol, whose value is presumably
a function or a list of functions.  The only use I see of it in the
Emacs code is as a `delete-selection' TYPE value.  For example:

(put 'self-insert-command 'delete-selection
     (lambda ()
       (not (run-hook-with-args-until-success
             'self-insert-uses-region-functions))))

(Similarly, for some other functions besides `self-insert-command'.)

That's fine (hook variables need not be defined or documented), but it
seems like this hook, with such an evocative name ;-), might have some
intended meaning beyond use by `delete-selection-mode'.  (Else why
"use-region" instead of something about delete-selection?)

This seems to have been introduced without any real use of it, so far.
So I'm curious what the intention is.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-24 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23 17:26 `self-insert-uses-region-functions'? Drew Adams
2014-07-23 17:29 ` `self-insert-uses-region-functions'? Drew Adams
2014-07-24 17:30   ` `self-insert-uses-region-functions'? Drew Adams

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.