Commit 40835f51 authored by David Byers's avatar David Byers
Browse files

Don't set title format if title format variables are unbound

parent 12dad0d4
2000-05-29 David Byers <davby@ida.liu.se>
* lyskom-rest.el (lyskom-is-loaded): Don't bind
frame-icon-title-format or frame-title-format unless they already
exist.
* commands2.el (lyskom-iter-list-news): Added at-least and at-most
arguments. Renamed all variables referenced in the calleing
environment to lyskom-iter-list-news-*.
......
......@@ -3512,13 +3512,15 @@ One parameter - the prompt string."
(setq global-mode-string
(append '("" lyskom-unread-mode-line) global-mode-string))))
(setq frame-title-format (list ""
frame-title-format
'lyskom-unread-title-format))
(setq frame-icon-title-format (list ""
frame-icon-title-format
'lyskom-unread-title-format))
(if (boundp 'frame-title-format)
(setq frame-title-format (list ""
frame-title-format
'lyskom-unread-title-format)))
(if (boundp 'frame-icon-title-format)
(setq frame-icon-title-format (list ""
frame-icon-title-format
'lyskom-unread-title-format)))
(setq lyskom-unread-mode-line
(list (list 'lyskom-sessions-with-unread
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment