aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schoenmakers <aiviru@diamond-age.net>2007-06-05 13:23:00 +0000
committerMartin Schoenmakers <aiviru@diamond-age.net>2007-06-05 13:23:00 +0000
commitde212a1c6205eb45ff712eb0f5ef0d91abcd6be3 (patch)
tree36ac1cda6f9684e661d8a3ef751b2d665197feae
parent5d5475c6069037fb678fa68b33afa0d0c72901eb (diff)
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
-rw-r--r--emms-volume-amixer.el1
-rw-r--r--emms-volume.el4
2 files changed, 5 insertions, 0 deletions
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)