Muli Ben-Yehuda's journal

February 3, 2004

it’s the small things that make me happy

Filed under: Uncategorized — Muli Ben-Yehuda @ 11:18 PM

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 

;; turn it on 

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: