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 (unless (featurep 'xemacs)
13 (maybe-fbind '(pgg-display-output-buffer url-generic-parse-url))
14 (maybe-bind '(help-xref-stack-item
15 url-version w3-meta-charset-content-type-regexp
16 w3-meta-content-type-charset-regexp))
18 (when (<= emacs-major-version 23)
19 (maybe-bind '(mail-encode-mml)))
21 (when (<= emacs-major-version 22)
22 (defun ecomplete-add-item (type key text))
23 (defun ecomplete-save nil)
24 (defun hashcash-wait-async (&optional buffer))
25 (defun mail-add-payment (&optional arg async))
26 (defun mail-add-payment-async (&optional arg))
27 (defun netrc-get (alist type))
28 (defun netrc-machine (list machine &optional port defaultport))
29 (defun netrc-machine-user-or-password (mode authinfo-file-or-list machines
31 (defun netrc-parse (file))
32 (defun shr-put-image (data alt &optional flags))
35 Info-index-next Info-menu bbdb-complete-name bookmark-default-handler
36 bookmark-get-bookmark-record bookmark-make-record-default
37 bookmark-prop-get completion-at-point display-time-event-handler
38 epg-check-configuration find-coding-system frame-device gnutls-negotiate
39 libxml-parse-html-region recenter-top-bottom rmail-swap-buffers-maybe
40 shr-insert-document w3-do-setup w3-parse-buffer w3-prepare-buffer
41 w3-region w3m-detect-meta-charset w3m-region))
43 '(epa-file-encrypt-to w3m-link-map))))
45 (when (featurep 'xemacs)
46 (defun canlock-insert-header (&optional id-for-key id-for-lock password))
47 (defun ecomplete-add-item (type key text))
48 (defun ecomplete-save nil)
49 (defun hashcash-wait-async (&optional buffer))
50 (defun mail-add-payment (&optional arg async))
51 (defun mail-add-payment-async (&optional arg))
52 (defun netrc-get (alist type))
53 (defun netrc-machine (list machine &optional port defaultport))
54 (defun netrc-machine-user-or-password (mode authinfo-file-or-list machines
56 (defun netrc-parse (file))
57 (defun split-line (&optional arg))
58 (defun shr-put-image (data alt &optional flags))
59 (eval-after-load "rmail"
60 '(defun rmail-toggle-header (&optional arg)))
62 '(bookmark-default-handler
63 bookmark-get-bookmark-record bookmark-make-record-default
64 bookmark-prop-get clear-string codepage-setup coding-system-from-name
65 completion-at-point cp-supported-codepages create-image debbugs-gnu
66 delete-overlay detect-coding-string display-time-event-handler
67 epg-check-configuration event-click-count event-end event-start
68 find-coding-systems-for-charsets find-coding-systems-region
69 find-coding-systems-string find-image float-time gnutls-negotiate
70 help-buffer ido-completing-read image-size image-type-available-p
71 insert-image libxml-parse-html-region mail-abbrevs-setup
72 make-mode-line-mouse-map make-network-process mouse-minibuffer-check
73 mouse-movement-p mouse-scroll-subr overlay-lists
74 pgg-display-output-buffer posn-point posn-window process-type put-image
75 read-char-choice read-event recenter-top-bottom
76 rmail-msg-restore-non-pruned-header rmail-swap-buffers-maybe
77 select-safe-coding-system set-network-process-option shr-insert-document
78 sort-coding-systems track-mouse ucs-to-char url-generic-parse-url
79 url-insert-file-contents vcard-pretty-print w3-parse-buffer
80 w3m-detect-meta-charset w3m-region window-edges))
82 '(adaptive-fill-first-line-regexp
83 buffer-display-table buffer-save-without-query completion-styles
84 completion-styles-alist cursor-in-non-selected-windows
85 default-enable-multibyte-characters default-file-name-coding-system
86 epa-file-encrypt-to eudc-protocol filladapt-mode
87 gnus-agent-expire-current-dirs help-xref-stack-item idna-program
88 installation-directory iswitchb-mode iswitchb-temp-buflist line-spacing
89 mail-encode-mml mark-active mouse-selection-click-count
90 mouse-selection-click-count-buffer ps-print-color-p rmail-default-file
91 rmail-default-rmail-file rmail-insert-mime-forwarded-message-function
92 show-trailing-whitespace smtpmail-default-smtp-server
93 temporary-file-directory tool-bar-mode transient-mark-mode url-version
94 w3-meta-charset-content-type-regexp w3m-link-map
95 w3-meta-content-type-charset-regexp))
97 (when (or (and (= emacs-major-version 21) (= emacs-minor-version 4))
101 custom-autoload decode-char display-graphic-p display-images-p
102 display-visual-class get-display-table help-function-arglist
103 make-temp-file next-single-char-property-change put-display-table
104 select-frame-set-input-focus set-buffer-multibyte set-char-table-range
105 string-as-multibyte timer-set-function unicode-precedence-list
109 scroll-margin timer-list)))
111 (unless (featurep 'mule)
113 '(ccl-execute-on-string
114 char-charset charsetp coding-system-get find-charset-region
115 get-charset-property pgg-display-output-buffer unicode-precedence-list))
117 '(current-language-environment
118 language-info-alist)))
120 (unless (featurep 'file-coding)
122 '(coding-system-aliasee
123 coding-system-base coding-system-change-eol-conversion coding-system-list
124 coding-system-p decode-coding-region decode-coding-string
125 detect-coding-region encode-coding-region encode-coding-string
128 '(buffer-file-coding-system
129 coding-system-for-read coding-system-for-write
130 enable-multibyte-characters file-name-coding-system))))