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