unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: .emacs code for xemacs
Date: Mon, 15 May 2006 09:56:05 -0600	[thread overview]
Message-ID: <e4a8bu$kti$3@sea.gmane.org> (raw)
In-Reply-To: <8764k8wc4o.fsf@localhost.localdomain>

Gary Wessle wrote:
> I must admit, I get this code in my .emacs and it has been taken from
> some source some time ago, now I don't even know if it is appropriate
> to keep, since I am not using xemacs, but emacs. it looks to me that
> it updates the colors when hitting C-l, but would it not be better if
> just I remove replace it with
> (global-font-lock-mode t)
> 
> here it is ****************
> (if (not xemacs-p)
>     (progn
>       (global-font-lock-mode t)
> ; If using global-font-lock-mode, make control-L update colors
>       (global-set-key "\C-l"
>                       (function (lambda (arg) (interactive "P")
>                                   (font-lock-fontify-block 100)
>                                   (recenter arg))))))
> ****************

It would be better to replace it with:
(global-font-lock-mode 1)

Check out `C-h f global-font-lock-mode'.
-- 
Kevin

      reply	other threads:[~2006-05-15 15:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14 21:05 .emacs code for xemacs Gary Wessle
2006-05-15 15:56 ` Kevin Rodgers [this message]

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='e4a8bu$kti$3@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.
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).