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