From a9f0f63a431a5decf97f293472fe5664a7715f6f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 16 Dec 2015 22:49:29 +0100 Subject: Remove unused awesome functions --- emacs/.emacs.d/init.el | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 056fee9..bce88dd 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -137,21 +137,6 @@ MODE1 is enabled and vice-versa." ;;;; Functions -(defun awesome-send (command) - "Send COMMAND through awesome-client to awesome." - (shell-command (format "echo '%s' | awesome-client" command))) - -(defun awesome-update-mailbox (_gnus-group) - "Update mailcount widget for GNUS-GROUP. - -But only if it is a maildir inbox." - (awesome-send "mymailwidget:set_count()")) - -(defun awesome-update-current-mailbox () - "Update mailcount widget for current gnus group." - (when (and (boundp 'gnus-newsgroup-name) gnus-newsgroup-name) - (awesome-update-mailbox gnus-newsgroup-name))) - (defun update-mailcount () "Update the mailcount in the wm." (shell-command-to-string "new-mail-mowedline")) -- cgit v1.2.3-54-g00ecf