From 480f3590ccc54da7eb49678a69c8110249541e9b Mon Sep 17 00:00:00 2001 From: Magnus Henoch Date: Mon, 17 Nov 2008 23:56:43 +0000 Subject: [PATCH] Drop newlines from Ogg file name --- jabber-tox.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jabber-tox.el b/jabber-tox.el index de31677..6d050af 100644 --- a/jabber-tox.el +++ b/jabber-tox.el @@ -52,7 +52,10 @@ The JID is the full JID of the account using the session.") (defconst tox-session-interface "net.sourceforge.emacs_jabber.ToxSession" "Interface of ToxSession object.") -(defvar tox-my-ogg-answering-machine (shell-command-to-string "locate '*.ogg' | head -1") +(defvar tox-my-ogg-answering-machine + (replace-regexp-in-string + "\n" "" + (shell-command-to-string "locate '*.ogg' | head -1")) "The Ogg file to play to anyone who calls to us. This should go away once we have hooked up everything properly, with microphone and so on. (Or maybe not...)") -- 2.11.4.GIT