bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#72264: Default project-mode-line-format missing a quote (Emacs 30 pr


From: Philip Kaludercic
Subject: bug#72264: Default project-mode-line-format missing a quote (Emacs 30 prep)
Date: Wed, 24 Jul 2024 10:39:40 +0000

Ship Mints <shipmints@gmail.com> writes:

> In progmodes/project.el, I believe the face reference, below, needs a quote.
>
> (defun project-mode-line-format ()
>   "Compose the project mode-line."
> ...
>        (propertize
>         (project-name project)
>         'face project-mode-line-face
> *        'face 'project-mode-line-face ; should be quoted?*

project-mode-line-face is a variable that may contain a face, but the
symbol itself doesn't designate a face.  Just check the definition a few
lines above.

> ...
>         'local-map project-mode-line-map)))))
>
> I hope I got that right. I've been using a custom project-mode-line-format
> and custom project-mode-line-face which is how I noticed this.

How did you define your custom `project-mode-line-face'?

> Stephane

-- 
        Philip Kaludercic on peregrine





reply via email to

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