[Top][All Lists]

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

Re: Can we make set_point_both less expensive?

From: martin rudalics
Subject: Re: Can we make set_point_both less expensive?
Date: Sun, 22 Mar 2015 15:11:12 +0100

> It's known well enough in pre-redisplay-function that we can use this
> information to setup an overlay to highlight the region.  And we haven't
> had bug-reports yet about this "approximation" being imprecise (tho
> I admittedly fixed just such a bug between 24.4 and 25.1).

One thing that's troubling me is that in pre-redisplay-function
this-command is apparently always nil.  For example:

(defun show-this-command (&windows)
  (message "This command is %s" this-command))

(add-function :after pre-redisplay-function #'show-this-command)


reply via email to

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