You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emacs/tnt/files/tnt-2.6-sound.patch

12 lines
508 B

--- tnt-2.6-orig/tnt.el
+++ tnt-2.6/tnt.el
@@ -4132,7 +4132,7 @@
(tnt-sound-exec
(with-output-to-string
(call-process shell-file-name nil t nil shell-command-switch (concat tnt-sound-exec " " tnt-sound-exec-args " " sound-file))))
- (tnt-running-xemacs (play-sound-file sound-file))
+ ((fboundp 'play-sound-file) (play-sound-file sound-file))
(t (message "Warning: tnt-sound-exec is not set")))
(message "Warning: %s is not a readable file" sound-file)))