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 create-image display-graphic-p
14 display-time-event-handler find-coding-system find-image
15 image-size image-type-available-p insert-image
16 line-number-at-pos make-mode-line-mouse-map make-temp-file
17 propertize put-image replace-regexp-in-string
18 rmail-msg-is-pruned rmail-msg-restore-non-pruned-header
19 sort-coding-systems 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-detect-meta-charset w3m-region x-focus-frame))
24 (maybe-bind '(eudc-protocol
25 filladapt-mode rmail-insert-mime-forwarded-message-function
26 w3-meta-charset-content-type-regexp
27 w3-meta-content-type-charset-regexp))
29 (if (featurep 'xemacs)
31 (maybe-fbind '(codepage-setup
32 delete-overlay detect-coding-string eudc-expand-inline
33 event-click-count event-end event-start
34 find-coding-systems-for-charsets
35 find-coding-systems-region find-coding-systems-string
36 mail-abbrevs-setup mouse-minibuffer-check mouse-movement-p
37 mouse-scroll-subr overlay-lists posn-point posn-window
38 read-event set-buffer-multibyte
39 select-frame-set-input-focus track-mouse window-edges))
40 (maybe-bind '(adaptive-fill-first-line-regexp
41 buffer-display-table buffer-file-coding-system
42 current-language-environment cursor-in-non-selected-windows
43 default-enable-multibyte-characters
44 enable-multibyte-characters gnus-agent-expire-current-dirs
45 language-info-alist mark-active mouse-selection-click-count
46 mouse-selection-click-count-buffer pgg-parse-crc24
47 temporary-file-directory transient-mark-mode)))
48 (maybe-fbind '(bbdb-complete-name
49 delete-annotation delete-extent device-connection dfw-device
50 events-to-keys font-lock-set-defaults frame-device
51 get-char-table glyph-height glyph-width ldap-search-entries
52 mail-aliases-setup make-annotation make-event make-glyph
53 make-network-process map-extents message-xmas-redefine
54 put-char-table set-extent-property temp-directory
55 valid-image-instantiator-format-p
56 w3-coding-system-for-mime-charset w3-do-setup
57 w3-prepare-buffer w3-region window-pixel-height
59 (maybe-bind '(help-echo-owns-message mail-mode-hook mm-w3m-mode-map
61 nobreak-char-display)))
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))))
75 (defun nnkiboze-score-file (a)
78 (defun split-line (&optional arg)
83 ;;; arch-tag: d1ad864f-dca6-4d21-aa3f-be3248e66dba