.emacs.d/site-lisp/oni.el
This commit is contained in:
parent
7af92b4abc
commit
bb9e6aab9d
1 changed files with 7 additions and 0 deletions
|
@ -104,6 +104,13 @@ DOT are intentionally being skipped."
|
||||||
(local-set-key "\C-j" 'oni:newline-and-indent)
|
(local-set-key "\C-j" 'oni:newline-and-indent)
|
||||||
(rainbow-mode))
|
(rainbow-mode))
|
||||||
|
|
||||||
|
(defun oni:current-jabber-status ()
|
||||||
|
"Return a string representing the current jabber status."
|
||||||
|
(or (and (not *jabber-connected*) "Offline")
|
||||||
|
(and (not (string= *jabber-current-status* ""))
|
||||||
|
*jabber-current-status*)
|
||||||
|
"Online"))
|
||||||
|
|
||||||
(defun oni:diary-display-func ()
|
(defun oni:diary-display-func ()
|
||||||
"Function for `diary-display-hook'."
|
"Function for `diary-display-hook'."
|
||||||
(diary-fancy-display))
|
(diary-fancy-display))
|
||||||
|
|
Loading…
Reference in a new issue