I like emacs’s mode bar to be choke full of information. To that end, I have it display for example the battery status, and also the current date and time. By default (XEmacs 21.4.14), when showing the date and time, it also shows the “you have mail” icon. But since I don’t read mail on the laptop, here’s how to get rid of it:
;; prepare to show current time (defun prepare-and-display-time() ;; no mail icon - I don't read mail on this box (setq display-time-form-list '(date time load)) ;; do show the day and date (setq display-time-day-and-date t) ;; turn it on (display-time)) ;; turn it on (prepare-and-display-time)
Leave a Reply