T-gnus 6.14.6; synch up with Gnus v5.8.8.
[elisp/gnus.git-] / lisp / lpath.el
1 ;; Shut up.
2
3 (defvar byte-compile-default-warnings)
4
5 (defun maybe-fbind (args)
6   (while args
7     (or (fboundp (car args))
8         (defalias (car args) 'ignore))
9     (setq args (cdr args))))
10
11 (defun maybe-bind (args)
12   (mapcar (lambda (var) (unless (boundp var) (set var nil))) args))
13
14 (maybe-fbind '(babel-fetch
15                babel-wash create-image decode-coding-string display-graphic-p
16                find-image font-create-object gnus-mule-get-coding-system
17                font-lock-set-defaults
18                image-size image-type-available-p insert-image
19                make-temp-file message-xmas-redefine
20                mail-aliases-setup mm-copy-tree
21                mule-write-region-no-coding-system put-image
22                rmail-select-summary rmail-summary-exists rmail-update-summary
23                sc-cite-regexp set-font-family set-font-size temp-directory
24                url-view-url vcard-pretty-print
25                url-insert-file-contents
26                w3-coding-system-for-mime-charset w3-prepare-buffer w3-region
27                widget-make-intangible x-defined-colors))
28
29 (maybe-bind '(adaptive-fill-first-line-regexp
30               adaptive-fill-regexp babel-history babel-translations
31               default-enable-multibyte-characters
32               display-time-mail-function imap-password mail-mode-hook
33               mc-pgp-always-sign
34               nnoo-definition-alist
35               url-current-callback-func url-be-asynchronous
36               url-current-callback-data url-working-buffer
37               url-current-mime-headers w3-meta-charset-content-type-regexp
38               w3-meta-content-type-charset-regexp))
39
40 (if (featurep 'xemacs)
41     (progn
42       (defvar track-mouse nil)
43       (maybe-fbind '(char-charset
44                      coding-system-get compute-motion coordinates-in-window-p
45                      delete-overlay easy-menu-create-keymaps
46                      error-message-string event-click-count event-end
47                      event-start facemenu-add-new-face facemenu-get-face
48                      find-charset-region find-coding-systems-for-charsets
49                      find-coding-systems-region find-non-ascii-charset-region
50                      frame-face-alist get-charset-property internal-find-face
51                      internal-next-face-id mail-abbrevs-setup make-char-table
52                      make-face-internal make-face-x-resource-internal
53                      make-overlay mouse-minibuffer-check mouse-movement-p
54                      mouse-scroll-subr overlay-buffer overlay-end
55                      overlay-get overlay-lists overlay-put
56                      overlay-start posn-point posn-window
57                      read-event read-event run-with-idle-timer
58                      set-buffer-multibyte set-char-table-range
59                      set-face-stipple set-frame-face-alist track-mouse
60                      url-retrieve w3-form-encode-xwfu window-at
61                      window-edges x-color-values x-popup-menu))
62       (maybe-bind '(buffer-display-table
63                     buffer-file-coding-system font-lock-defaults
64                     global-face-data gnus-article-x-face-too-ugly
65                     gnus-newsgroup-charset gnus-newsgroup-emphasis-alist
66                     gnus-newsgroup-name mark-active
67                     mouse-selection-click-count
68                     mouse-selection-click-count-buffer
69                     temporary-file-directory transient-mark-mode
70                     url-current-mime-type
71                     user-full-name user-login-name
72                     w3-image-mappings)))
73   (maybe-bind '(browse-url-browser-function
74                 enable-multibyte-characters help-echo-owns-message))
75   (maybe-fbind '(Info-goto-node
76                  add-submenu annotation-glyph annotationp babel-as-string
77                  button-press-event-p char-int characterp color-instance-name
78                  color-instance-rgb-components color-name delete-annotation
79                  device-class device-on-window-system-p device-type
80                  display-error event-glyph event-object event-point
81                  events-to-keys face-doc-string find-face frame-device
82                  frame-property get-popup-menu-response glyph-height
83                  glyph-property glyph-width glyphp make-annotation
84                  make-event
85                  make-color-instance make-extent make-glyph make-gui-button
86                  make-image-specifier map-extents next-command-event
87                  pp-to-string read-color set-extent-property
88                  set-face-doc-string set-glyph-image set-glyph-property
89                  specifier-instance url-generic-parse-url
90                  valid-image-instantiator-format-p w3-do-setup
91                  window-pixel-height window-pixel-width)))
92
93 ;; T-gnus.
94 (if (featurep 'xemacs)
95     (progn
96       (maybe-fbind '(propertize))
97       (maybe-bind '(mh-lib-progs)))
98   ;; FSFmacs
99   (maybe-fbind '(charsetp
100                  function-max-args propertize smiley-encode-buffer))
101   (if (boundp 'MULE)
102       (progn
103         (maybe-fbind '(coding-system-get
104                        file-name-extension find-coding-systems-region
105                        get-charset-property))
106         (maybe-bind '(mh-lib-progs)))))
107
108 (require 'custom)
109
110 (defun nnkiboze-score-file (a)
111   )
112
113 (provide 'lpath)