3 (defvar byte-compile-default-warnings)
5 (defun maybe-fbind (args)
7 (or (fboundp (car args))
8 (defalias (car args) 'ignore))
9 (setq args (cdr args))))
11 (defun maybe-bind (args)
12 (mapcar (lambda (var) (unless (boundp var) (set var nil))) args))
14 (maybe-fbind '(babel-fetch
15 babel-wash create-image decode-coding-string display-graphic-p
16 find-image font-create-object gnus-mule-get-coding-system
17 font-lock-set-defaults
18 image-size image-type-available-p insert-image
19 make-temp-file message-xmas-redefine
20 mail-aliases-setup mm-copy-tree
21 mule-write-region-no-coding-system put-image
22 rmail-select-summary rmail-summary-exists rmail-update-summary
23 sc-cite-regexp set-font-family set-font-size temp-directory
24 url-view-url vcard-pretty-print
25 url-insert-file-contents
26 w3-coding-system-for-mime-charset w3-prepare-buffer w3-region
27 widget-make-intangible x-defined-colors))
29 (maybe-bind '(adaptive-fill-first-line-regexp
30 adaptive-fill-regexp babel-history babel-translations
31 default-enable-multibyte-characters
32 display-time-mail-function imap-password mail-mode-hook
35 url-current-callback-func url-be-asynchronous
36 url-current-callback-data url-working-buffer
37 url-current-mime-headers w3-meta-charset-content-type-regexp
38 w3-meta-content-type-charset-regexp))
40 (if (featurep 'xemacs)
42 (defvar track-mouse nil)
43 (maybe-fbind '(char-charset
44 coding-system-get compute-motion coordinates-in-window-p
45 delete-overlay easy-menu-create-keymaps
46 error-message-string event-click-count event-end
47 event-start facemenu-add-new-face facemenu-get-face
48 find-charset-region find-coding-systems-for-charsets
49 find-coding-systems-region find-non-ascii-charset-region
50 frame-face-alist get-charset-property internal-find-face
51 internal-next-face-id mail-abbrevs-setup make-char-table
52 make-face-internal make-face-x-resource-internal
53 make-overlay mouse-minibuffer-check mouse-movement-p
54 mouse-scroll-subr overlay-buffer overlay-end
55 overlay-get overlay-lists overlay-put
56 overlay-start posn-point posn-window
57 read-event read-event run-with-idle-timer
58 set-buffer-multibyte set-char-table-range
59 set-face-stipple set-frame-face-alist track-mouse
60 url-retrieve w3-form-encode-xwfu window-at
61 window-edges x-color-values x-popup-menu))
62 (maybe-bind '(buffer-display-table
63 buffer-file-coding-system font-lock-defaults
64 global-face-data gnus-article-x-face-too-ugly
65 gnus-newsgroup-charset gnus-newsgroup-emphasis-alist
66 gnus-newsgroup-name mark-active
67 mouse-selection-click-count
68 mouse-selection-click-count-buffer
69 temporary-file-directory transient-mark-mode
71 user-full-name user-login-name
73 (maybe-bind '(browse-url-browser-function
74 enable-multibyte-characters help-echo-owns-message))
75 (maybe-fbind '(Info-goto-node
76 add-submenu annotation-glyph annotationp babel-as-string
77 button-press-event-p char-int characterp color-instance-name
78 color-instance-rgb-components color-name delete-annotation
79 device-class device-on-window-system-p device-type
80 display-error event-glyph event-object event-point
81 events-to-keys face-doc-string find-face frame-device
82 frame-property get-popup-menu-response glyph-height
83 glyph-property glyph-width glyphp make-annotation
85 make-color-instance make-extent make-glyph make-gui-button
86 make-image-specifier map-extents next-command-event
87 pp-to-string read-color set-extent-property
88 set-face-doc-string set-glyph-image set-glyph-property
89 specifier-instance url-generic-parse-url
90 valid-image-instantiator-format-p w3-do-setup
91 window-pixel-height window-pixel-width)))
94 (if (featurep 'xemacs)
96 (maybe-fbind '(propertize))
97 (maybe-bind '(mh-lib-progs)))
99 (maybe-fbind '(charsetp
100 function-max-args propertize smiley-encode-buffer))
103 (maybe-fbind '(coding-system-get
104 file-name-extension find-coding-systems-region
105 get-charset-property))
106 (maybe-bind '(mh-lib-progs)))))
110 (defun nnkiboze-score-file (a)