py-font-lock-mode-hook called outside

Bug #378599 reported by Andreas Roehler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Invalid
Undecided
Andreas Roehler

Bug Description

Hi,

noticed `py-font-lock-mode-hook' called outside
`python-mode' in common dired-buffer.

Where it's probably not intended for.

Commenting the following line solved it, whithout
noticable setback in python-mode.

;; (add-hook 'font-lock-mode-hook 'py-font-lock-mode-hook)

Thanks!

Andreas Röhler

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
Revision history for this message
Andreas Roehler (a-roehler) wrote :

Hmm, rather should add-hook get the local flag probably... :-)

Changed in python-mode:
status: New → Confirmed
Changed in python-mode:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.