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

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

No effect upon changing format width to mode-line-buffer-identification


From: Heime
Subject: No effect upon changing format width to mode-line-buffer-identification
Date: Fri, 26 Jul 2024 10:19:22 +0000

Changing the buffer name format to mode-line-buffer-identification
has no effect.  Have changed the width, but the width is not changed
in the madeline.

(defun vodil-rtgbfn-width (width)
  (setq mode-line-buffer-identification
    (propertized-buffer-identification (format "%%%db" width))))

(defvar vodil-deploy nil "Something")

(unless vodil-deploy-bfname
  (vodil-width 5))

  (setq-default mode-line-format
    '( "%e"
            (:eval (if vodil-deploy-bfname
                        vodil-panelit-bfname
                     mode-line-buffer-identification))
            vodil-panel)) )





reply via email to

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