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

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

How to analyze the value of `mode-line-misc-info'?


From: Kevin Vigouroux
Subject: How to analyze the value of `mode-line-misc-info'?
Date: Mon, 14 Feb 2022 17:45:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

#+begin_src emacs-lisp
ELISP> mode-line-misc-info
((global-mode-string
  ("" global-mode-string " ")))
#+end_src

I don’t understand why there are two nested lists. I thought the second
list was used as a conditional statement (e.g. `global-mode-string'
returns non-`nil') to finally concatenate several strings.

• Emacs Lisp Ref. manual — 23.4.2 “The Data Structure of the Mode Line”
- https://www.gnu.org/software/emacs/manual/html_node/elisp/Mode-Line-Data.html
-- 
Kevin Vigouroux,
Best regards



reply via email to

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