3 (defun maybe-fbind (args)
5 (or (fboundp (car args))
6 (defalias (car args) 'ignore))
7 (setq args (cdr args))))
9 (defun maybe-bind (args)
10 (mapcar (lambda (var) (unless (boundp var) (set var nil))) args))
12 (maybe-fbind '(Info-directory
13 Info-menu bbdb-create-internal bbdb-records 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 spam-BBDB-register-routine
19 spam-enter-ham-BBDB string-to-multibyte tool-bar-add-item
20 tool-bar-add-item-from-menu tool-bar-local-item-from-menu
21 url-generic-parse-url url-http-file-exists-p
22 url-insert-file-contents vcard-pretty-print w32-focus-frame
23 w3m-charset-to-coding-system w3m-region x-focus-frame))
24 (maybe-bind '(eudc-protocol
25 filladapt-mode mc-pgp-always-sign
26 rmail-insert-mime-forwarded-message-function url-current-object
27 url-package-name url-package-version
28 w3-meta-charset-content-type-regexp
29 w3-meta-content-type-charset-regexp
30 w3m-cid-retrieve-function-alist w3m-current-buffer
31 w3m-display-inline-images w3m-meta-content-type-charset-regexp
34 (if (featurep 'xemacs)
36 (maybe-fbind '(delete-overlay
37 detect-coding-string eudc-expand-inline event-click-count
38 event-end event-start find-coding-systems-for-charsets
39 find-coding-systems-region find-coding-systems-string
40 mail-abbrevs-setup mouse-minibuffer-check
41 mouse-movement-p mouse-scroll-subr overlay-lists
42 posn-point posn-window read-event set-buffer-multibyte
43 track-mouse window-edges))
44 (maybe-bind '(adaptive-fill-first-line-regexp
45 buffer-display-table buffer-file-coding-system
46 current-language-environment
47 default-enable-multibyte-characters
48 enable-multibyte-characters gnus-agent-expire-current-dirs
49 language-info-alist mark-active mouse-selection-click-count
50 mouse-selection-click-count-buffer pgg-parse-crc24
51 temporary-file-directory transient-mark-mode)))
52 (maybe-fbind '(bbdb-complete-name
53 delete-annotation delete-extent device-connection dfw-device
54 events-to-keys font-lock-set-defaults frame-device
55 get-char-table glyph-height glyph-width mail-aliases-setup
56 make-annotation make-event make-glyph make-network-process
57 map-extents message-xmas-redefine put-char-table
58 set-extent-property temp-directory
59 valid-image-instantiator-format-p
60 w3-coding-system-for-mime-charset w3-do-setup
61 w3-prepare-buffer w3-region window-pixel-height
63 (maybe-bind '(help-echo-owns-message mail-mode-hook mm-w3m-mode-map)))
65 (when (and (featurep 'xemacs)
66 (not (featurep 'mule)))
67 (maybe-fbind '(ccl-execute-on-string
68 char-charset charsetp coding-system-get define-ccl-program
69 find-charset-region get-charset-property
70 pgg-parse-crc24-string))
71 (unless (featurep 'file-coding)
72 (maybe-fbind '(coding-system-base
73 coding-system-list coding-system-p decode-coding-region
74 decode-coding-string detect-coding-region
75 encode-coding-region encode-coding-string))))
77 (defun nnkiboze-score-file (a)
80 (defun split-line (&optional arg)
88 '(frame-char-height frame-char-width))
90 '(function-max-args smiley-encode-buffer))))
96 '(font-lock-defaults))
100 '(default-mime-charset-unlimited navi2ch-mona-font)))
101 (maybe-fbind functions)
102 (maybe-fbind common-fns)
103 (maybe-bind variables)
104 (maybe-bind common-vars))