unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).