[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10063: 24.0.91; Making font-lock-mode-hook buffer-local while locall
bug#10063: 24.0.91; Making font-lock-mode-hook buffer-local while locally let-bound!
Tue, 27 Dec 2011 08:36:53 +0900
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (i686-pc-cygwin)
Wolfgang Jenkner wrote:
> 2011-12-26 Wolfgang Jenkner <address@hidden>
> * mm-view.el (mm-display-inline-fontify): Scrap `font-lock-mode-hook'.
> --- a/lisp/mm-view.el
> +++ b/lisp/mm-view.el
> -;; Shut up byte-compiler.
> -(defvar font-lock-mode-hook)
Why it is defvar'd here is that it no longer exists in Emacs but
still exists in XEmacs. XEmacs people use it to run some support
modes `fast-lock', `lazy-lock', etc. as Emacs people use
> ;; Disable support modes, e.g., jit-lock, lazy-lock, etc.
> - (set (make-local-variable 'font-lock-mode-hook) nil)
Gnus should run with not only old Emacsen but also XEmacsen,
so please don't scrap it. (when (featurep 'xemacs) ...?
 (info "(gnus)Emacsen")