]> code.delx.au - gnu-emacs/commitdiff
(default-mode-line-format): More explicit obsolete info
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 16:31:05 +0000 (18:31 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 16:31:05 +0000 (18:31 +0200)
* lisp/subr.el (default-mode-line-format): Be more explicit in
how default values are now handled (bug#19424).

lisp/subr.el

index 5477500b322079780f9ab59d4f52f1795e92ae48..a2af64211730fc273f6566b5214cae2db823402d 100644 (file)
@@ -1323,7 +1323,9 @@ is converted into a string by expressing it in decimal."
 ;; buffer-local.
 
 ;; Not used at all in Emacs, last time I checked:
-(make-obsolete-variable 'default-mode-line-format 'mode-line-format "23.2")
+(make-obsolete-variable 'default-mode-line-format
+                        "use (setq-default mode-line-format) or (default-value mode-line-format) instead"
+                        "23.2")
 (make-obsolete-variable 'default-header-line-format 'header-line-format "23.2")
 (make-obsolete-variable 'default-line-spacing 'line-spacing "23.2")
 (make-obsolete-variable 'default-abbrev-mode 'abbrev-mode "23.2")