Remove unused functions

This commit is contained in:
Tom Willemse 2015-12-17 01:26:04 +01:00
parent ea35825e1d
commit bc6c5394ac

View file

@ -137,22 +137,10 @@ MODE1 is enabled and vice-versa."
;;;; Functions
(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:enable (functions)
"Set the `disabled' property for each item in FUNCTIONS to nil."
(mapc #'(lambda (f) (put f 'disabled nil)) functions))
(defun oni:level (lst)
"Reduce a 2-level list LST to a flat list."
(let ((lsts (mapcar (lambda (l) (if (listp l) l (list l))) lst)))
(apply #'append lsts)))
(defun oni:locally-enable-double-spaces ()
"Specify that two spaces end a sentence in the current buffer."
(setq-local sentence-end-double-space t))