Thomas S. Dye <t...@tsdye.com> wrote:

> Aloha all,
> 
> After a recent upgrade to emacs 24, and using the Org-mode that ships
> with emacs (7.8.11), the following code that has been in my
> initialization file for a long time no longer works:
> 
> #+begin_src emacs-lisp :tangle yes
>   (add-hook 'org-finalize-agenda-hook
>     (lambda () (remove-text-properties
>                (point-min) (point-max) '(mouse-face t))))
> #+end_src
> 
> It used to keep the mouse pointer from highlighting agenda lines.
> 
> Any idea why it is broken now?

Maybe.

C-h v org-finalize-agenda-hook says:

,----
| org-finalize-agenda-hook's value is ((lambda nil
|    (remove-text-properties
|     (point-min)
|     (point-max)
|     '(mouse-face t))))
| 
| 
|   This variable is obsolete since 24.3;
|   use `org-agenda-finalize-hook' instead.
|   This variable is potentially risky when used as a file local variable.
`----

Nick


Reply via email to