emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tiny font-lock change to lisp/bs.el


From: Yoni Rabkin
Subject: tiny font-lock change to lisp/bs.el
Date: Tue, 08 Jun 2010 19:39:02 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux)

Hello (I am using GNU Emacs 23.1.96.2),

The font-lock regexp on line 198 of bs.el reads:

    '("^..\\(.*Dired by .*\\)$" 1 font-lock-function-name-face)

But if you make the following modification (as I did in my .emacs):

    (setq dired-listing-switches "-lphaX")

Then the font-lock regexp no longer matches since the word "by" is
replaced by the value of `dired-listing-switches'.

A fix would be to remove the word "by" from the font-lock regexp:

    '("^..\\(.*Dired .*\\)$" 1 font-lock-function-name-face)

-- 
   "Cut your own wood and it will warm you twice"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]