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 22)
19 (defun ecomplete-add-item (type key text))
20 (defun ecomplete-save nil)
21 (defun hashcash-wait-async (&optional buffer))
22 (defun mail-add-payment (&optional arg async))
23 (defun mail-add-payment-async (&optional arg))
24 (defun netrc-get (alist type))
25 (defun netrc-machine (list machine &optional port defaultport))
26 (defun netrc-machine-user-or-password (mode authinfo-file-or-list machines
28 (defun netrc-parse (file))
31 Info-index-next Info-menu bbdb-complete-name bookmark-default-handler
32 bookmark-get-bookmark-record bookmark-make-record-default
33 bookmark-prop-get display-time-event-handler epg-check-configuration
34 find-coding-system frame-device recenter-top-bottom
35 rmail-swap-buffers-maybe w3-do-setup w3-prepare-buffer w3-region
36 w32-focus-frame w3m-detect-meta-charset w3m-region))
40 (when (= emacs-major-version 21)
41 (defun canlock-insert-header (&optional id-for-key id-for-lock password))
42 (defun split-line (&optional arg))
45 coding-system-aliasee coding-system-from-name custom-autoload
46 delete-annotation delete-extent device-connection dfw-device
47 events-to-keys find-face font-lock-set-defaults get-char-table
48 glyph-height glyph-width help-buffer int-to-char ldap-search-entries
49 mail-aliases-setup make-annotation make-event make-glyph
50 make-network-process map-extents message-xmas-redefine put-char-table
51 run-mode-hooks set-extent-property set-itimer-function
52 set-keymap-default-binding temp-directory time-to-seconds ucs-to-char
53 unicode-precedence-list unicode-to-char url-generic-parse-url
54 url-http-file-exists-p valid-image-instantiator-format-p
55 vcard-pretty-print w3-coding-system-for-mime-charset window-pixel-height
59 eudc-protocol filladapt-mode help-echo-owns-message itimer-list
60 ps-print-color-p smtpmail-default-smtp-server
61 w3-meta-charset-content-type-regexp
62 w3-meta-content-type-charset-regexp))))
64 (when (featurep 'xemacs)
65 (defun canlock-insert-header (&optional id-for-key id-for-lock password))
66 (defun ecomplete-add-item (type key text))
67 (defun ecomplete-save nil)
68 (defun hashcash-wait-async (&optional buffer))
69 (defun mail-add-payment (&optional arg async))
70 (defun mail-add-payment-async (&optional arg))
71 (defun netrc-get (alist type))
72 (defun netrc-machine (list machine &optional port defaultport))
73 (defun netrc-machine-user-or-password (mode authinfo-file-or-list machines
75 (defun netrc-parse (file))
76 (defun split-line (&optional arg))
77 (eval-after-load "rmail"
78 '(defun rmail-toggle-header (&optional arg)))
80 '(bookmark-default-handler
81 bookmark-get-bookmark-record bookmark-make-record-default
82 bookmark-prop-get clear-string codepage-setup coding-system-from-name
83 cp-supported-codepages create-image delete-overlay detect-coding-string
84 display-time-event-handler epg-check-configuration event-click-count
85 event-end event-start find-coding-systems-for-charsets
86 find-coding-systems-region find-coding-systems-string find-image
87 float-time help-buffer image-size image-type-available-p insert-image
88 mail-abbrevs-setup make-mode-line-mouse-map make-network-process
89 mouse-minibuffer-check mouse-movement-p mouse-scroll-subr overlay-lists
90 pgg-display-output-buffer posn-point posn-window put-image read-event
91 recenter-top-bottom rmail-msg-restore-non-pruned-header
92 rmail-swap-buffers-maybe select-safe-coding-system sort-coding-systems
93 track-mouse ucs-to-char url-generic-parse-url url-http-file-exists-p
94 url-insert-file-contents vcard-pretty-print w3m-detect-meta-charset
95 w3m-region window-edges))
97 '(adaptive-fill-first-line-regexp
98 buffer-display-table completion-styles cursor-in-non-selected-windows
99 default-enable-multibyte-characters default-file-name-coding-system
100 eudc-protocol filladapt-mode gnus-agent-expire-current-dirs
101 help-xref-stack-item idna-program installation-directory line-spacing
102 mark-active mouse-selection-click-count mouse-selection-click-count-buffer
103 ps-print-color-p rmail-default-file rmail-default-rmail-file
104 rmail-insert-mime-forwarded-message-function show-trailing-whitespace
105 smtpmail-default-smtp-server temporary-file-directory tool-bar-mode
106 transient-mark-mode url-version w3-meta-charset-content-type-regexp
107 w3m-link-map w3-meta-content-type-charset-regexp))
109 (when (or (and (= emacs-major-version 21) (= emacs-minor-version 4))
113 decode-char display-graphic-p display-images-p display-visual-class
114 get-display-table make-temp-file next-single-char-property-change
115 put-display-table select-frame-set-input-focus set-buffer-multibyte
116 string-as-multibyte timer-set-function unicode-precedence-list
117 unicode-to-char w32-focus-frame x-focus-frame))
120 scroll-margin timer-list)))
122 (when (and (= emacs-major-version 21) (= emacs-minor-version 4))
126 (unless (featurep 'mule)
128 '(ccl-execute-on-string
129 char-charset charsetp coding-system-get find-charset-region
130 get-charset-property pgg-display-output-buffer pgg-parse-crc24-string
131 unicode-precedence-list))
133 '(current-language-environment
134 language-info-alist pgg-parse-crc24)))
136 (unless (featurep 'file-coding)
138 '(coding-system-aliasee
139 coding-system-base coding-system-change-eol-conversion coding-system-list
140 coding-system-p decode-coding-region decode-coding-string
141 detect-coding-region encode-coding-region encode-coding-string
144 '(buffer-file-coding-system
145 coding-system-for-read coding-system-for-write
146 enable-multibyte-characters file-name-coding-system))))