all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: master 84e0b7d: Deprecate `intangible' and `point-entered' properties
       [not found] ` <E1YhkO9-0004qC-N2@vcs.savannah.gnu.org>
@ 2015-04-14  0:28   ` Katsumi Yamaoka
  2015-04-14  1:25     ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2015-04-14  0:28 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Monnier

On Mon, 13 Apr 2015 19:51:21 +0000, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> +(defun gnus-group--setup-tool-bar-update (beg end)
> +  (when gnus-group-update-tool-bar
> +    (if (fboundp 'cursor-sensor-mode)
> +        (progn
> +          (unless (bound-and-true-p cursor-sensor-mode)
> +            (cursor-sensor-mode 1))
> +          (gnus-put-text-property beg end 'cursor-sensor-functions
> +                                  #'gnus-tool-bar-update))

I guess the value set to cursor-sensor-functions should be a list
or it should allow a non-list value.  When running Gnus I got:

Debugger entered--Lisp error: (wrong-type-argument listp gnus-tool-bar-update)
  cursor-sensor--detect(#<window 3 on *Group*>)
  run-hook-with-args(cursor-sensor--detect #<window 3 on *Group*>)
  redisplay--pre-redisplay-functions(t)
  apply(redisplay--pre-redisplay-functions t)
  #[128 "..." [apply redisplay--pre-redisplay-functions ignore nil] 4 nil nil](t)
  redisplay_internal\ \(C\ function\)()



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

* Re: master 84e0b7d: Deprecate `intangible' and `point-entered' properties
  2015-04-14  0:28   ` master 84e0b7d: Deprecate `intangible' and `point-entered' properties Katsumi Yamaoka
@ 2015-04-14  1:25     ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-04-14  1:25 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: emacs-devel

> I guess the value set to cursor-sensor-functions should be a list

Oh, yes, it should be a list, sorry.


        Stefan



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

end of thread, other threads:[~2015-04-14  1:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20150413195121.18574.60557@vcs.savannah.gnu.org>
     [not found] ` <E1YhkO9-0004qC-N2@vcs.savannah.gnu.org>
2015-04-14  0:28   ` master 84e0b7d: Deprecate `intangible' and `point-entered' properties Katsumi Yamaoka
2015-04-14  1:25     ` Stefan Monnier

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.