Remove the need to have run-at-time.el.
[gnus] / lisp / lpath.el
1 ;; Shut up.
2
3 (defun maybe-fbind (args)
4   (while args
5     (or (fboundp (car args))
6         (defalias (car args) 'ignore))
7     (setq args (cdr args))))
8
9 (defun maybe-bind (args)
10   (mapcar (lambda (var) (unless (boundp var) (set var nil))) args))
11
12 (maybe-fbind '(Info-directory
13                Info-menu create-image
14                display-graphic-p find-coding-system find-image image-size
15                image-type-available-p insert-image make-mode-line-mouse-map
16                make-temp-file propertize put-image replace-regexp-in-string
17                rmail-msg-is-pruned rmail-msg-restore-non-pruned-header
18                sort-coding-systems string-to-multibyte tool-bar-add-item
19                tool-bar-add-item-from-menu tool-bar-local-item-from-menu
20                url-generic-parse-url url-http-file-exists-p
21                url-insert-file-contents vcard-pretty-print w32-focus-frame
22                w3m-detect-meta-charset w3m-region x-focus-frame))
23 (maybe-bind '(eudc-protocol
24               filladapt-mode mc-pgp-always-sign
25               rmail-insert-mime-forwarded-message-function url-current-object
26               url-package-name url-package-version
27               w3-meta-charset-content-type-regexp
28               w3-meta-content-type-charset-regexp
29               w3m-cid-retrieve-function-alist w3m-current-buffer
30               w3m-display-inline-images w3m-minor-mode-map))
31
32 (if (featurep 'xemacs)
33     (progn
34       (maybe-fbind '(delete-overlay
35                      detect-coding-string eudc-expand-inline event-click-count
36                      event-end event-start find-coding-systems-for-charsets
37                      find-coding-systems-region find-coding-systems-string
38                      mail-abbrevs-setup mouse-minibuffer-check
39                      mouse-movement-p mouse-scroll-subr overlay-lists
40                      posn-point posn-window read-event set-buffer-multibyte
41                      track-mouse window-edges))
42       (maybe-bind '(adaptive-fill-first-line-regexp
43                     buffer-display-table buffer-file-coding-system
44                     current-language-environment
45                     default-enable-multibyte-characters
46                     enable-multibyte-characters gnus-agent-expire-current-dirs
47                     language-info-alist mark-active mouse-selection-click-count
48                     mouse-selection-click-count-buffer pgg-parse-crc24
49                     temporary-file-directory transient-mark-mode)))
50   (maybe-fbind '(bbdb-complete-name
51                  delete-annotation delete-extent device-connection dfw-device
52                  events-to-keys font-lock-set-defaults frame-device
53                  get-char-table glyph-height glyph-width mail-aliases-setup
54                  make-annotation make-event make-glyph make-network-process
55                  map-extents message-xmas-redefine put-char-table
56                  set-extent-property temp-directory
57                  valid-image-instantiator-format-p
58                  w3-coding-system-for-mime-charset w3-do-setup
59                  w3-prepare-buffer w3-region window-pixel-height
60                  window-pixel-width))
61   (maybe-bind '(help-echo-owns-message mail-mode-hook mm-w3m-mode-map)))
62
63 (when (and (featurep 'xemacs)
64            (not (featurep 'mule)))
65   (maybe-fbind '(ccl-execute-on-string
66                  char-charset charsetp coding-system-get define-ccl-program
67                  find-charset-region get-charset-property
68                  pgg-parse-crc24-string))
69   (unless (featurep 'file-coding)
70     (maybe-fbind '(coding-system-base
71                    coding-system-list coding-system-p decode-coding-region
72                    decode-coding-string detect-coding-region
73                    encode-coding-region encode-coding-string))))
74
75 (defun nnkiboze-score-file (a)
76   )
77
78 (defun split-line (&optional arg)
79   )
80
81 (provide 'lpath)
82
83 ;;; arch-tag: d1ad864f-dca6-4d21-aa3f-be3248e66dba