From de212a1c6205eb45ff712eb0f5ef0d91abcd6be3 Mon Sep 17 00:00:00 2001 From: Martin Schoenmakers Date: Tue, 5 Jun 2007 13:23:00 +0000 Subject: volume-autoloads This patch adds autoload comments to the emms-volume 'UI' functions, as well as to the 'backend' function in emms-volume-amixer file. This seems like the right thing to do, offhand, not really knowing much about autoload stuff ;) darcs-hash:20070605132340-97144-da0ae5713037e784e7570cfe5437fb765db1686d.gz --- emms-volume-amixer.el | 1 + emms-volume.el | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/emms-volume-amixer.el b/emms-volume-amixer.el index 9f11273..4b06979 100644 --- a/emms-volume-amixer.el +++ b/emms-volume-amixer.el @@ -49,6 +49,7 @@ controls, run `amixer controls' in a shell." (string :tag "Something else: ")) :group 'emms-volume) +;;;###autoload (defun emms-volume-amixer-change (amount) "Change amixer master volume by AMOUNT." (message "Playback channels: %s" diff --git a/emms-volume.el b/emms-volume.el index 563625a..01377a9 100644 --- a/emms-volume.el +++ b/emms-volume.el @@ -72,11 +72,13 @@ This should be a positive integer." :type 'integer :group 'emms-volume) +;;;###autoload (defun emms-volume-raise () "Raise the speaker volume." (interactive) (funcall emms-volume-change-function emms-volume-change-amount)) +;;;###autoload (defun emms-volume-lower () "Lower the speaker volume." (interactive) @@ -100,12 +102,14 @@ This should be a positive integer." (defvar emms-volume-mode-timer nil "The timer `emms-volume-minor-mode' uses.") +;;;###autoload (defun emms-volume-mode-plus () "Raise volume and enable or extend the `emms-volume-minor-mode' timeout." (interactive) (emms-volume-raise) (emms-volume-mode-start-or-extend)) +;;;###autoload (defun emms-volume-mode-minus () "Lower volume and enable or extend the `emms-volume-minor-mode' timeout." (interactive) -- cgit v1.2.3