Created
March 18, 2013 12:44
-
-
Save kmakita13714/5186913 to your computer and use it in GitHub Desktop.
Emacsのモードラインに、日付と時間を表示する設定です。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 以下の書式に従ってモードラインに日付・時刻を表示する | |
(setq display-time-string-forms | |
'((format "%s/%s/%s(%s) %s:%s" year month day dayname 24-hours minutes) | |
load | |
(if mail " Mail" ""))) | |
;; 時刻表示の左隣に日付を追加。 | |
(setq display-time-kawakami-form t) | |
;; 24時間制 | |
(setq display-time-24hr-format t) | |
;; 時間を表示 | |
(display-time) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment