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

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

apply-mode-line-format.el 1.4


From: Kevin Rodgers
Subject: apply-mode-line-format.el 1.4
Date: Fri, 03 Jun 2005 16:52:09 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Changes since version 1.2:
* Implement the Emacs 21 (:eval FORM) and (:KEYWORD ...) constructs;
  handle unbound symbols in SYMBOL and (SYMBOL THEN [ELSE]) constructs;
  use (cadr ...) instead of (car (cdr ...)).

;;; Commentary:

;; Emacs 22 provides the format-mode-line function, which obsoletes
;; this package.

;; But Emacs 21 doesn't provide distinct functions for (1) generating
;; a string from `mode-line-format' and (2) displaying it in the mode
;; line.  In src/xdisp.c, display_mode_element() does both, and it
;; doesn't have a Lisp binding.  apply-mode-line-format.el defines an
;; eponymous Lisp function that returns any `mode-line-format' template
;; as a string.

This is also available at
http://www.emacswiki.org/elisp/apply-mode-line-format.el

--
Kevin Rodgers

Attachment: apply-mode-line-format.el
Description: application/emacs-lisp


reply via email to

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