* Unable to avoid prompting when starting jabber
@ 2013-07-25 18:19 Sean McAfee
0 siblings, 0 replies; only message in thread
From: Sean McAfee @ 2013-07-25 18:19 UTC (permalink / raw)
To: help-gnu-emacs
I had the following routine set up to connect to the local Jabber server:
(defun my-connect-to-jabber ()
(interactive)
(jabber-connect ... arguments ...)
I eventually got tired of always having to respond "no" to the prompt
"Use anonymous authentication? (yes or no)" when running this command.
I assumed that I was being prompted by yes-or-no-p, and a quick dive
into the Jabber source confirmed this, so I adjusted my command:
(defun my-connect-to-jabber ()
(interactive)
(flet ((yes-or-no-p (x) nil))
(jabber-connect ... arguments ...))
Weirdly, this has no effect. I still get the prompt.
Anyone have any ideas on why this might be?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-25 18:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25 18:19 Unable to avoid prompting when starting jabber Sean McAfee
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.