;; Shut up.
-(defvar byte-compile-default-warnings)
-
-(or (featurep 'path-util)
- (load "apel/path-util"))
-(add-path "apel")
-(add-path "flim")
-(add-path "semi")
-
(defun maybe-fbind (args)
(while args
(or (fboundp (car args))
- (fset (car args) 'ignore))
+ (defalias (car args) 'ignore))
(setq args (cdr args))))
(defun maybe-bind (args)
(mapcar (lambda (var) (unless (boundp var) (set var nil))) args))
-(if (string-match "XEmacs" emacs-version)
+(maybe-fbind '(Info-directory
+ Info-menu bbdb-create-internal bbdb-records create-image
+ display-graphic-p find-coding-system find-image image-size
+ image-type-available-p insert-image make-mode-line-mouse-map
+ make-temp-file propertize put-image replace-regexp-in-string
+ rmail-msg-is-pruned rmail-msg-restore-non-pruned-header
+ sort-coding-systems spam-BBDB-register-routine
+ spam-enter-ham-BBDB string-to-multibyte tool-bar-add-item
+ tool-bar-add-item-from-menu tool-bar-local-item-from-menu
+ url-generic-parse-url url-http-file-exists-p
+ url-insert-file-contents vcard-pretty-print w32-focus-frame
+ w3m-charset-to-coding-system w3m-region x-focus-frame))
+(maybe-bind '(filladapt-mode
+ mc-pgp-always-sign rmail-insert-mime-forwarded-message-function
+ url-current-object url-package-name url-package-version
+ w3-meta-charset-content-type-regexp
+ w3-meta-content-type-charset-regexp
+ w3m-cid-retrieve-function-alist w3m-current-buffer
+ w3m-display-inline-images w3m-meta-content-type-charset-regexp
+ w3m-minor-mode-map))
+
+(if (featurep 'xemacs)
(progn
- (defvar track-mouse nil)
- (maybe-fbind '(posn-point
- event-start x-popup-menu
- facemenu-get-face window-at coordinates-in-window-p
- compute-motion x-defined-colors easy-menu-create-keymaps
- read-event internal-find-face internal-next-face-id
- make-face-internal set-frame-face-alist frame-face-alist
- facemenu-add-new-face make-face-x-resource-internal
- set-font-size set-font-family posn-window
- run-with-idle-timer mouse-minibuffer-check window-edges
- event-click-count track-mouse read-event mouse-movement-p
- event-end mouse-scroll-subr overlay-lists delete-overlay
- set-face-stipple mail-abbrevs-setup
- make-char-table set-char-table-range font-create-object
- x-color-values widget-make-intangible error-message-string
- w3-form-encode-xwfu gnus-mule-get-coding-system
- decode-coding-string mail-aliases-setup
- mm-copy-tree url-view-url w3-prepare-buffer
- set-buffer-multibyte
- find-non-ascii-charset-region char-charset
- mule-write-region-no-coding-system
- find-charset-region base64-decode-string))
- (maybe-bind '(global-face-data
- mark-active transient-mark-mode mouse-selection-click-count
- mouse-selection-click-count-buffer buffer-display-table
- font-lock-defaults user-full-name user-login-name
- gnus-newsgroup-name gnus-article-x-face-too-ugly
- mail-mode-hook enable-multibyte-characters
- adaptive-fill-first-line-regexp adaptive-fill-regexp
- url-current-mime-headers buffer-file-coding-system)))
- (maybe-bind '(mail-mode-hook
- enable-multibyte-characters browse-url-browser-function
- adaptive-fill-first-line-regexp adaptive-fill-regexp
- url-current-mime-headers))
- (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 characterp display-error
- set-face-doc-string frame-property face-doc-string
- button-press-event-p next-command-event
- widget-make-intangible glyphp make-glyph set-glyph-image
- set-glyph-property event-glyph glyph-property event-point
- device-on-window-system-p make-gui-button Info-goto-node
- pp-to-string color-name
- gnus-mule-get-coding-system decode-coding-string
- mail-aliases-setup
- mm-copy-tree url-view-url w3-prepare-buffer
- mule-write-region-no-coding-system char-int)))
+ (maybe-fbind '(delete-overlay
+ event-click-count event-end event-start
+ find-coding-systems-for-charsets
+ find-coding-systems-region find-coding-systems-string
+ mail-abbrevs-setup mouse-minibuffer-check
+ mouse-movement-p mouse-scroll-subr overlay-lists
+ posn-point posn-window read-event set-buffer-multibyte
+ track-mouse window-edges))
+ (maybe-bind '(adaptive-fill-first-line-regexp
+ buffer-display-table buffer-file-coding-system
+ current-language-environment
+ default-enable-multibyte-characters
+ enable-multibyte-characters gnus-agent-expire-current-dirs
+ language-info-alist mark-active mouse-selection-click-count
+ mouse-selection-click-count-buffer pgg-parse-crc24
+ temporary-file-directory transient-mark-mode)))
+ (maybe-fbind '(bbdb-complete-name
+ delete-annotation delete-extent device-connection dfw-device
+ events-to-keys font-lock-set-defaults frame-device
+ get-char-table glyph-height glyph-width mail-aliases-setup
+ make-annotation make-event make-glyph make-network-process
+ map-extents message-xmas-redefine put-char-table
+ set-extent-property temp-directory
+ valid-image-instantiator-format-p
+ w3-coding-system-for-mime-charset w3-do-setup
+ w3-prepare-buffer w3-region window-pixel-height
+ window-pixel-width))
+ (maybe-bind '(help-echo-owns-message mail-mode-hook mm-w3m-mode-map)))
-(setq load-path (cons "." load-path))
-(require 'custom)
+(when (and (featurep 'xemacs)
+ (not (featurep 'mule)))
+ (maybe-fbind '(ccl-execute-on-string
+ char-charset charsetp coding-system-get define-ccl-program
+ find-charset-region get-charset-property
+ pgg-parse-crc24-string))
+ (unless (featurep 'file-coding)
+ (maybe-fbind '(coding-system-base
+ coding-system-list coding-system-p decode-coding-region
+ decode-coding-string detect-coding-region
+ encode-coding-region encode-coding-string))))
-(defun md5 (a &optional b c)
+(defun nnkiboze-score-file (a)
)
+(defun split-line (&optional arg)
+ )
+
+
+;; T-gnus.
+(let ((functions
+ (cond
+ ((featurep 'xemacs)
+ '(frame-char-height frame-char-width))
+ (t
+ '(function-max-args smiley-encode-buffer))))
+ (common-fns
+ nil)
+ (variables
+ (cond
+ ((featurep 'xemacs)
+ '(font-lock-defaults))
+ (t
+ nil)))
+ (common-vars
+ '(default-mime-charset-unlimited navi2ch-mona-font)))
+ (maybe-fbind functions)
+ (maybe-fbind common-fns)
+ (maybe-bind variables)
+ (maybe-bind common-vars))
+
(provide 'lpath)