From: Magnus H. <leg...@us...> - 2013-02-03 11:37:12
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "emacs-jabber". The branch, master has been updated via ec3b2ee6be48c758b13a573f9041f18a38ca25b1 (commit) from 2171eb029a9e12b21d6ccb6ddc11a1068054243e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ec3b2ee6be48c758b13a573f9041f18a38ca25b1 Author: Magnus Henoch <mag...@gm...> Date: Sun Feb 3 11:36:43 2013 +0000 Don't require jabber-console in defcustom of jabber-debug-log-xml That makes it impossible to run Emacs if jabber-debug-log-xml has been customized, but jabber-console.el is not in the load path for some reason. Instead add an autoload cookie for jabber-process-console to ensure that it gets loaded when needed. Also remove duplicate definition of jabber-buffer-connection. diff --git a/jabber-console.el b/jabber-console.el index 5b89254..7b2b4e3 100644 --- a/jabber-console.el +++ b/jabber-console.el @@ -52,12 +52,6 @@ what kind of chat buffer is being created.") (defvar jabber-console-ewoc nil "The ewoc showing the XML elements of this stream buffer.") -;;;###autoload -(defvar jabber-buffer-connection nil - "The connection used by this buffer.") -;;;###autoload -(make-variable-buffer-local 'jabber-buffer-connection) - (defvar jabber-console-mode-map (let ((map (make-sparse-keymap))) (set-keymap-parent map jabber-common-keymap) @@ -134,6 +128,7 @@ what kind of chat buffer is being created.") (jabber-tree-map (lambda (x) (if (numberp x) (format "%s" x) x)) xml-data) xml-data)) +;;;###autoload (defun jabber-process-console (jc direction xml-data) "Log XML-DATA i/o as XML in \"*-jabber-console-JID-*\" buffer" (let ((buffer (get-buffer-create (jabber-console-create-buffer jc)))) diff --git a/jabber.el b/jabber.el index a5c66cf..ef148c0 100644 --- a/jabber.el +++ b/jabber.el @@ -202,8 +202,7 @@ configure a Google Talk account like this: :type '(choice (const :tag "Do not dump XML i/o" nil) (const :tag "Dump XML i/o in console" t) (string :tag "Dump XML i/o in console and this file")) - :group 'jabber-debug - :require 'jabber-console) + :group 'jabber-debug) ;;;###autoload (defcustom jabber-debug-keep-process-buffers nil ----------------------------------------------------------------------- Summary of changes: jabber-console.el | 7 +------ jabber.el | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) hooks/post-receive -- emacs-jabber |