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
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
52                      make-overlay overlay-put make-symbolic-link))
53       (maybe-bind '(global-face-data
54                     mark-active transient-mark-mode mouse-selection-click-count
55                     mouse-selection-click-count-buffer buffer-display-table
56                     font-lock-defaults user-full-name user-login-name
57                     gnus-newsgroup-name gnus-article-x-face-too-ugly
58                     gnus-newsgroup-charset gnus-newsgroup-emphasis-alist
59                     mail-mode-hook
60                     adaptive-fill-first-line-regexp adaptive-fill-regexp
61                     url-current-mime-headers buffer-file-coding-system
62                     w3-image-mappings url-current-mime-type
63                     w3-meta-content-type-charset-regexp
64                     w3-meta-charset-content-type-regexp
65                     url-current-callback-func url-current-callback-data
66                     url-be-asynchronous temporary-file-directory
67                     babel-translations babel-history
68                     display-time-mail-function imap-password
69                     )))
70   (maybe-bind '(mail-mode-hook
71                 enable-multibyte-characters browse-url-browser-function
72                 adaptive-fill-first-line-regexp adaptive-fill-regexp
73                 url-current-mime-headers help-echo-owns-message
74                 w3-meta-content-type-charset-regexp
75                 w3-meta-charset-content-type-regexp
76                 babel-translations babel-history
77                 display-time-mail-function imap-password))
78   (maybe-fbind '(color-instance-rgb-components
79                  temp-directory
80                  glyph-width annotation-glyph window-pixel-width glyph-height
81                  window-pixel-height map-extents
82                  make-color-instance color-instance-name specifier-instance
83                  device-type device-class get-popup-menu-response event-object
84                  add-submenu set-font-family
85                  font-create-object set-font-size frame-device find-face
86                  set-extent-property make-extent characterp display-error
87                  set-face-doc-string frame-property face-doc-string
88                  button-press-event-p next-command-event
89                  widget-make-intangible glyphp make-glyph set-glyph-image
90                  set-glyph-property event-glyph glyph-property event-point
91                  device-on-window-system-p make-gui-button Info-goto-node
92                  pp-to-string color-name
93                  gnus-mule-get-coding-system decode-coding-string
94                  mail-aliases-setup
95                  url-view-url w3-prepare-buffer
96                  char-int
97                  annotationp delete-annotation make-image-specifier
98                  make-annotation events-to-keys
99                  w3-do-setup w3-region
100                  w3-coding-system-for-mime-charset
101                  rmail-summary-exists rmail-select-summary rmail-update-summary
102                  url-generic-parse-url valid-image-instantiator-format-p
103                  babel-fetch babel-wash sc-cite-regexp
104                  vcard-pretty-print image-type-available-p
105                  coding-system-get find-coding-system
106                  find-coding-systems-for-charsets find-coding-systems-region
107                  font-lock-set-defaults function-max-args get-charset-property
108                  make-symbolic-link map-extents smiley-encode-buffer
109                  toolbar-gnus
110                  )))
111
112 (setq load-path (cons "." load-path))
113 (require 'custom)
114
115 (defun md5 (object &optional start end coding noerror)
116   )
117
118 (provide 'lpath)