Mercurial > hg > xemacs-beta
view lisp/w3/docomp.el @ 134:34a5b81f86ba r20-2b1
Import from CVS: tag r20-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:30:11 +0200 |
parents | cca96a509cfe |
children | b980b6286996 |
line wrap: on
line source
(setq load-path (append (list (expand-file-name "./") (or (getenv "WIDGETDIR") (expand-file-name "../widget")) ) load-path)) (setq max-specpdl-size (* 10 max-specpdl-size) max-lisp-eval-depth (* 10 max-lisp-eval-depth)) (defun w3-declare-variables (&rest args) (while args (eval (list 'defvar (car args) nil "")) (setq args (cdr args)))) ;; For Emacs 19 (w3-declare-variables 'track-mouse 'menu-bar-help-menu 'menu-bar-mode) ;; For XEmacs/Lucid (w3-declare-variables 'current-menubar 'default-menubar 'extent 'mode-motion-hook 'mode-popup-menu 'sound-alist 'menubar-visible-p 'inhibit-help-echo 'default-toolbar 'bottom-toolbar-height 'top-toolbar-height 'toolbar-buttons-captioned-p 'right-toolbar-width 'left-toolbar-width 'top-toolbar 'bottom-toolbar 'right-toolbar 'left-toolbar 'device-fonts-cache 'has-modeline-p 'baud-rate) ;; For MULE (w3-declare-variables '*noconv* '*autoconv* '*euc-japan* '*internal* 'w3-mime-list-for-code-conversion 'lc-ltn1 'mule-version 'enable-multibyte-characters 'charset-latin-iso8859-1 'file-coding-system-for-read 'file-coding-system) ;; For TM (w3-declare-variables 'mime/editor-mode-flag 'mime-tag-format) ;; For NNTP (w3-declare-variables 'nntp-server-buffer 'nntp-server-process 'nntp/connection 'gnus-nntp-server 'nntp-server-name 'nntp-version 'gnus-default-nntp-server) ;; For xpm-button (w3-declare-variables 'x-library-search-path) ;; For emacspeak (w3-declare-variables 'dtk-voice-table 'dtk-punctuation-mode) ;; For a few internal things (w3-declare-variables 'tag 'w3-working-buffer 'proxy-info 'args 'w3-image-widgets-waiting 'w3-form-info 'w3-last-parse-tree 'command-line-args-left 'standard-display-table 'w3-html-bookmarks 'browse-url-browser-function 'widget-keymap) ;; GNUS (w3-declare-variables 'gnus-group-buffer 'gnus-version) (load "bytecomp" t t nil) ;; Emacs 19 byte compiler complains about too much stuff by default. ;; Turn off most of the warnings here. (setq byte-compile-warnings '(free-vars) byte-optimize t ) (require 'w3-vars) (require 'url) (require 'mm) (and w3-running-FSF19 (< emacs-minor-version 29) (require 'font)) (require 'w3-sysdp) (provide 'ange-ftp)