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 display-time-event-handler find-coding-system
15 find-image image-size image-type-available-p insert-image
16 make-mode-line-mouse-map make-temp-file open-ssl-stream
17 propertize put-image replace-regexp-in-string
18 rmail-msg-is-pruned rmail-msg-restore-non-pruned-header
19 sort-coding-systems spam-BBDB-register-routine
20 spam-enter-ham-BBDB string-to-multibyte tool-bar-add-item
21 tool-bar-add-item-from-menu tool-bar-local-item-from-menu
22 url-http-file-exists-p vcard-pretty-print w32-focus-frame
23 w3m-charset-to-coding-system x-focus-frame put-char-table
25 (maybe-bind '(filladapt-mode
26 mc-pgp-always-sign mm-w3m-mode-map rmail-enable-mime-composing
27 rmail-insert-mime-forwarded-message-function
28 w3m-cid-retrieve-function-alist w3m-current-buffer
29 w3m-display-inline-images w3m-meta-content-type-charset-regexp
32 (if (featurep 'xemacs)
34 (maybe-fbind '(Info-directory
35 Info-menu ccl-execute-on-string char-charset charsetp
36 coding-system-get coding-system-list coding-system-p
37 decode-coding-region decode-coding-string
38 define-ccl-program delete-overlay detect-coding-region
39 encode-coding-region encode-coding-string
40 event-click-count event-end event-start
41 find-charset-region find-coding-systems-for-charsets
42 find-coding-systems-region find-coding-systems-string
43 get-charset-property mail-abbrevs-setup
44 mouse-minibuffer-check mouse-movement-p mouse-scroll-subr
45 overlay-lists pgg-parse-crc24-string posn-point
46 posn-window read-event set-buffer-multibyte track-mouse
47 window-edges w3m-region))
48 (maybe-bind '(adaptive-fill-first-line-regexp
49 buffer-display-table buffer-file-coding-system
50 current-language-environment
51 default-enable-multibyte-characters
52 enable-multibyte-characters gnus-agent-expire-current-dirs
53 language-info-alist mark-active mouse-selection-click-count
54 mouse-selection-click-count-buffer pgg-parse-crc24
55 temporary-file-directory transient-mark-mode
56 w3-meta-content-type-charset-regexp
57 w3-meta-charset-content-type-regexp)))
58 (maybe-fbind '(bbdb-complete-name
59 delete-annotation device-connection dfw-device
60 events-to-keys font-lock-set-defaults frame-device
61 glyph-height glyph-width mail-aliases-setup make-annotation
62 make-event make-glyph make-network-process map-extents
63 message-xmas-redefine set-extent-property temp-directory
64 url-generic-parse-url url-insert-file-contents
65 valid-image-instantiator-format-p
66 w3-coding-system-for-mime-charset w3-do-setup
67 w3-prepare-buffer w3-region w3m-region window-pixel-height
69 (maybe-bind '(help-echo-owns-message
71 url-current-object url-package-name url-package-version
72 w3-meta-charset-content-type-regexp
73 w3-meta-content-type-charset-regexp)))
79 '(frame-char-height frame-char-width))
80 ((>= emacs-major-version 21)
81 '(function-max-args smiley-encode-buffer))
84 coding-system-base coding-system-get coding-system-list
85 coding-system-to-mime-charset compose-mail
86 file-name-extension find-coding-systems-for-charsets
87 find-coding-systems-region function-max-args get-charset-property
88 read-passwd ;; See the Mule23@1934 file.
89 smiley-encode-buffer smtpmail-send-it))
91 '(function-max-args smiley-encode-buffer))))
97 '(font-lock-defaults))
98 ((>= emacs-major-version 21)
101 '(adaptive-fill-first-line-regexp
102 default-enable-multibyte-characters enable-multibyte-characters))
106 '(default-mime-charset-unlimited navi2ch-mona-font)))
107 (maybe-fbind functions)
108 (maybe-fbind common-fns)
109 (maybe-bind variables)
110 (maybe-bind common-vars))
112 (when (and (featurep 'xemacs)
113 (not (featurep 'mule)))
115 (maybe-fbind '(coding-system-base find-charset-string))))
118 (defun nnkiboze-score-file (a)
121 (defun split-line (&optional arg)