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