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