unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Wolfgang Jenkner <wjenkner@inode.at>
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>,
	10063@debbugs.gnu.org, Leo <sdl.web@gmail.com>
Subject: bug#10063: 24.0.91; Making font-lock-mode-hook buffer-local while locally let-bound!
Date: Tue, 27 Dec 2011 08:36:53 +0900	[thread overview]
Message-ID: <b4my5tyoqga.fsf@jpl.org> (raw)
In-Reply-To: <87y5vg5jzb.fsf@gmail.com>

Wolfgang Jenkner wrote:
[...]
> 2011-12-26  Wolfgang Jenkner  <wjenkner@inode.at>

>         * 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
`font-lock-support-mode'.

>  	;; 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[1],
so please don't scrap it.  (when (featurep 'xemacs) ...?

[1] (info "(gnus)Emacsen")





  reply	other threads:[~2011-12-26 23:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16 12:29 bug#10063: 24.0.91; Making font-lock-mode-hook buffer-local while locally let-bound! Leo
2011-11-16 14:49 ` Stefan Monnier
2011-11-21 19:37   ` Lars Magne Ingebrigtsen
2011-12-26 20:02   ` Wolfgang Jenkner
2011-12-26 23:36     ` Katsumi Yamaoka [this message]
2011-12-27  1:29       ` Stefan Monnier
2011-12-28  2:40         ` Katsumi Yamaoka
2011-12-27 16:26       ` Wolfgang Jenkner
2011-12-27 19:48       ` Wolfgang Jenkner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4my5tyoqga.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=10063@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=sdl.web@gmail.com \
    --cc=wjenkner@inode.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).