Mercurial > hg > xemacs-beta
diff lisp/gnus/lpath.el @ 16:0293115a14e9 r19-15b91
Import from CVS: tag r19-15b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:20 +0200 |
parents | |
children | d95e72db5c07 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/gnus/lpath.el Mon Aug 13 08:49:20 2007 +0200 @@ -0,0 +1,33 @@ +;; Shut up. + +(defvar byte-compile-default-warnings) + +(defun maybe-fbind (args) + (while args + (or (fboundp (car args)) + (fset (car args) 'ignore)) + (setq args (cdr args)))) + +(if (string-match "XEmacs" emacs-version) + (progn + (defvar track-mouse nil) + (maybe-fbind '(posn-point event-start x-popup-menu + error-message-string facemenu-get-face window-at + coordinates-in-window-p compute-motion + x-defined-colors easy-menu-create-keymaps)) + ;; XEmacs thinks writting compatible code is obsolete. + (require 'bytecomp) + (setq byte-compile-default-warnings + (delq 'obsolete byte-compile-default-warnings))) + (defvar browse-url-browser-function nil) + (maybe-fbind '(color-instance-rgb-components make-color-instance + color-instance-name specifier-instance device-type + device-class get-popup-menu-response event-object + x-defined-colors read-color add-submenu set-font-family + font-create-object set-font-size frame-device find-face + set-extent-property make-extent))) + +(setq load-path (cons "." load-path)) +(require 'custom) + +(provide 'lpath)