* texi/gnus.texi: Synch with Gnus.
[elisp/gnus.git-] / lisp / lpath.el
1 ;; Shut up.
2
3 (defvar byte-compile-default-warnings)
4
5 (or (featurep 'path-util)
6     (load "apel/path-util"))
7 (add-path "apel")
8 (add-path "flim")
9 (add-path "semi")
10
11 (defun maybe-fbind (args)
12   (while args
13     (or (fboundp (car args))
14         (defalias (car args) 'ignore))
15     (setq args (cdr args))))
16
17 (defun maybe-bind (args)
18   (mapcar (lambda (var) (unless (boundp var) (set var nil))) args))
19
20 (maybe-fbind '(babel-fetch
21                babel-wash create-image decode-coding-string display-graphic-p
22                find-image font-create-object gnus-mule-get-coding-system
23                image-size image-type-available-p insert-image
24                mail-aliases-setup mm-copy-tree
25                mule-write-region-no-coding-system put-image
26                rmail-select-summary rmail-summary-exists rmail-update-summary
27                sc-cite-regexp set-font-family set-font-size temp-directory
28                url-view-url vcard-pretty-print
29                w3-coding-system-for-mime-charset w3-prepare-buffer w3-region
30                widget-make-intangible x-defined-colors))
31
32 (maybe-bind '(adaptive-fill-first-line-regexp
33               adaptive-fill-regexp babel-history babel-translations
34               display-time-mail-function imap-password mail-mode-hook
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-color-instance make-extent make-glyph make-gui-button
85                  make-image-specifier map-extents next-command-event
86                  pp-to-string read-color set-extent-property
87                  set-face-doc-string set-glyph-image set-glyph-property
88                  specifier-instance url-generic-parse-url
89                  valid-image-instantiator-format-p w3-do-setup
90                  window-pixel-height window-pixel-width)))
91
92 ;; T-gnus.
93 (if (featurep 'xemacs)
94     (progn
95       (maybe-fbind '(propertize))
96       (maybe-bind '(mh-lib-progs)))
97   ;; FSFmacs
98   (maybe-fbind '(charsetp
99                  font-lock-set-defaults function-max-args propertize
100                  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 md5 (object &optional start end coding noerror)
111   )
112
113 (defun nnkiboze-score-file (a)
114   )
115
116 (provide 'lpath)