# HG changeset patch # User Glenn Morris # Date 1201150093 0 # Node ID dab0b3c8742518640ea02486abafe1c5d0fc58a6 # Parent d3fad2e8cdfb5bd3595f5f27c17f97a13a6f9006 (gpm-mouse-start): Declare as a function. diff -r d3fad2e8cdfb -r dab0b3c87425 lisp/t-mouse.el --- a/lisp/t-mouse.el Thu Jan 24 04:46:59 2008 +0000 +++ b/lisp/t-mouse.el Thu Jan 24 04:48:13 2008 +0000 @@ -4,7 +4,8 @@ ;; Maintainer: FSF ;; Keywords: mouse gpm linux -;; Copyright (C) 1994, 1995, 1998, 2006, 2007, 2008 Free Software Foundation, Inc. +;; Copyright (C) 1994, 1995, 1998, 2006, 2007, 2008 +;; Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -39,6 +40,9 @@ ;;; Code: +;; Prevent warning when compiling in an Emacs without gpm support. +(declare-function gpm-mouse-start "term.c" ()) + ;;;###autoload (define-obsolete-function-alias 't-mouse-mode 'gpm-mouse-mode "23.1") ;;;###autoload