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

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

bug#17644: 24.4.50; provide access to all mode-line lighters (e.g. those


From: Christopher Schmidt
Subject: bug#17644: 24.4.50; provide access to all mode-line lighters (e.g. those from C code)
Date: Fri, 30 May 2014 12:02:48 -0400 (EDT)

Drew Adams <address@hidden> writes:
> (b) provide a means for users to access and modify them using Lisp.

    (info "(elisp)%-Constructs")

    (setq mode-line-modes
          (cl-nsubstitute '(:eval (when (buffer-narrowed-p) " DREW"))
                          "%n"
                          mode-line-modes
                          :test 'string=
                          :key (lambda (e)
                                 (when (stringp e)
                                   e))))





reply via email to

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