aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorPavel Janík2002-04-07 10:11:24 +0000
committerPavel Janík2002-04-07 10:11:24 +0000
commitcf6f437fc9db506fa68bc49f301b69ce6035d894 (patch)
tree74b704a073e82f5f5e088e0cd6af3c3e007906af /lisp/simple.el
parent324cd947a2c603ea380058750961bc24fce9e175 (diff)
downloademacs-cf6f437fc9db506fa68bc49f301b69ce6035d894.tar.gz
emacs-cf6f437fc9db506fa68bc49f301b69ce6035d894.zip
(play-sound): Move to subr.el.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el21
1 files changed, 0 insertions, 21 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index da2e3520074..eefac3fce0f 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3355,27 +3355,6 @@ specification for `play-sound'."
3355 (push 'sound sound) 3355 (push 'sound sound)
3356 (play-sound sound))) 3356 (play-sound sound)))
3357 3357
3358(defun play-sound (sound)
3359 "SOUND is a list of the form `(sound KEYWORD VALUE...)'.
3360The following keywords are recognized:
3361
3362 :file FILE - read sound data from FILE. If FILE isn't an
3363absolute file name, it is searched in `data-directory'.
3364
3365 :data DATA - read sound data from string DATA.
3366
3367Exactly one of :file or :data must be present.
3368
3369 :volume VOL - set volume to VOL. VOL must an integer in the
3370range 0..100 or a float in the range 0..1.0. If not specified,
3371don't change the volume setting of the sound device.
3372
3373 :device DEVICE - play sound on DEVICE. If not specified,
3374a system-dependent default device name is used."
3375 (unless (fboundp 'play-sound-internal)
3376 (error "This Emacs binary lacks sound support."))
3377 (play-sound-internal sound))
3378
3379(define-key global-map "\e\e\e" 'keyboard-escape-quit) 3358(define-key global-map "\e\e\e" 'keyboard-escape-quit)
3380 3359
3381(defcustom read-mail-command 'rmail 3360(defcustom read-mail-command 'rmail