unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tiny font-lock change to lisp/bs.el
@ 2010-06-08 16:39 Yoni Rabkin
  2010-06-16 21:33 ` Yoni Rabkin
  0 siblings, 1 reply; 4+ messages in thread
From: Yoni Rabkin @ 2010-06-08 16:39 UTC (permalink / raw)
  To: emacs-devel


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"



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-24  6:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-08 16:39 tiny font-lock change to lisp/bs.el Yoni Rabkin
2010-06-16 21:33 ` Yoni Rabkin
2010-06-23 22:33   ` Yoni Rabkin
2010-06-24  6:33     ` Glenn Morris

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).