From: Juanma Barranquero Date: Wed, 2 May 2012 11:38:01 +0000 (+0200) Subject: Silence byte-compiler warnings. X-Git-Tag: emacs-24.2.90~471^2~208 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55a714795dbd59a16608d2b565e12fec5b5ba130;p=emacs.git Silence byte-compiler warnings. lisp/notifications.el (dbus-debug): lisp/term/linux.el (gpm-mouse-enable): lisp/term/screen.el (xterm-register-default-colors): Declare. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d1a6cd0dcd2..c264cb6bf26 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2012-05-02 Juanma Barranquero + + * notifications.el (dbus-debug): + * term/linux.el (gpm-mouse-enable): + * term/screen.el (xterm-register-default-colors): Declare. + 2012-05-02 Chong Yidong * allout.el (allout-exposure-change-functions) diff --git a/lisp/notifications.el b/lisp/notifications.el index 83992834502..7a79d5f6754 100644 --- a/lisp/notifications.el +++ b/lisp/notifications.el @@ -173,7 +173,7 @@ Various PARAMS can be set: notification when an action has been invoked. :transient When set the server will treat the notification as transient and by-pass the server's persistence capability, if it - should exist. + should exist. :x Specifies the X location on the screen that the notification should point to. The \"y\" hint must also be specified. :y Specifies the Y location on the screen that the notification @@ -344,6 +344,8 @@ of another `notifications-notify' call." notifications-close-notification-method :int32 id)) +(defvar dbus-debug) ; used in the macroexpansion of dbus-ignore-errors + (defun notifications-get-capabilities () "Return the capabilities of the notification server, a list of strings. The following capabilities can be expected: diff --git a/lisp/term/linux.el b/lisp/term/linux.el index e85c8d2ce0d..00bcdfdf542 100644 --- a/lisp/term/linux.el +++ b/lisp/term/linux.el @@ -1,5 +1,7 @@ ;; The Linux console handles Latin-1 by default. +(declare-function gpm-mouse-enable "t-mouse" ()) + (defun terminal-init-linux () "Terminal initialization function for linux." (unless (terminal-coding-system) diff --git a/lisp/term/screen.el b/lisp/term/screen.el index 678ed1f0ba0..d37a695086a 100644 --- a/lisp/term/screen.el +++ b/lisp/term/screen.el @@ -1,6 +1,8 @@ ;; Treat a screen terminal similar to an xterm. (load "term/xterm") +(declare-function xterm-register-default-colors "xterm" ()) + (defun terminal-init-screen () "Terminal initialization function for screen." ;; Use the xterm color initialization code.