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 delete-overlay
66 detect-coding-string display-time-event-handler epg-check-configuration
67 event-click-count event-end event-start find-coding-systems-for-charsets
68 find-coding-systems-region find-coding-systems-string find-image
69 float-time gnutls-negotiate help-buffer ido-completing-read image-size
70 image-type-available-p insert-image libxml-parse-html-region
71 mail-abbrevs-setup make-mode-line-mouse-map make-network-process
72 mouse-minibuffer-check mouse-movement-p mouse-scroll-subr overlay-lists
73 pgg-display-output-buffer posn-point posn-window process-type put-image
74 read-char-choice read-event recenter-top-bottom
75 rmail-msg-restore-non-pruned-header rmail-swap-buffers-maybe
76 select-safe-coding-system set-network-process-option shr-insert-document
77 sort-coding-systems track-mouse ucs-to-char url-generic-parse-url
78 url-insert-file-contents vcard-pretty-print w3-parse-buffer
79 w3m-detect-meta-charset w3m-region window-edges))
81 '(adaptive-fill-first-line-regexp
82 buffer-display-table buffer-save-without-query completion-styles
83 completion-styles-alist cursor-in-non-selected-windows
84 default-enable-multibyte-characters default-file-name-coding-system
85 epa-file-encrypt-to eudc-protocol filladapt-mode
86 gnus-agent-expire-current-dirs help-xref-stack-item idna-program
87 installation-directory iswitchb-mode iswitchb-temp-buflist line-spacing
88 mail-encode-mml mark-active mouse-selection-click-count
89 mouse-selection-click-count-buffer ps-print-color-p rmail-default-file
90 rmail-default-rmail-file rmail-insert-mime-forwarded-message-function
91 show-trailing-whitespace smtpmail-default-smtp-server
92 temporary-file-directory tool-bar-mode transient-mark-mode url-version
93 w3-meta-charset-content-type-regexp w3m-link-map
94 w3-meta-content-type-charset-regexp))
96 (when (or (and (= emacs-major-version 21) (= emacs-minor-version 4))
100 custom-autoload decode-char display-graphic-p display-images-p
101 display-visual-class get-display-table help-function-arglist
102 make-temp-file next-single-char-property-change put-display-table
103 select-frame-set-input-focus set-buffer-multibyte set-char-table-range
104 string-as-multibyte timer-set-function unicode-precedence-list
108 scroll-margin timer-list)))
110 (unless (featurep 'mule)
112 '(ccl-execute-on-string
113 char-charset charsetp coding-system-get find-charset-region
114 get-charset-property pgg-display-output-buffer unicode-precedence-list))
116 '(current-language-environment
117 language-info-alist)))
119 (unless (featurep 'file-coding)
121 '(coding-system-aliasee
122 coding-system-base coding-system-change-eol-conversion coding-system-list
123 coding-system-p decode-coding-region decode-coding-string
124 detect-coding-region encode-coding-region encode-coding-string
127 '(buffer-file-coding-system
128 coding-system-for-read coding-system-for-write
129 enable-multibyte-characters file-name-coding-system))))