(gnus-parse-simple-format): princ doesn't really insert anything in Emacs.
[gnus.git] / lisp / lpath.el
blob138e555f9013de692c932259e9742c922de4d656
1 ;; Shut up.
3 (defun maybe-fbind (args)
4 (while 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
27 ports defaults))
28 (defun netrc-parse (file))
29 (maybe-fbind
30 '(Info-index
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 gnutls-negotiate
35 libxml-parse-html-region recenter-top-bottom rmail-swap-buffers-maybe
36 shr-insert-document w3-do-setup w3-parse-buffer w3-prepare-buffer
37 w3-region w3m-detect-meta-charset w3m-region))
38 (maybe-bind
39 '(w3m-link-map))))
41 (when (featurep 'xemacs)
42 (defun canlock-insert-header (&optional id-for-key id-for-lock password))
43 (defun ecomplete-add-item (type key text))
44 (defun ecomplete-save nil)
45 (defun hashcash-wait-async (&optional buffer))
46 (defun mail-add-payment (&optional arg async))
47 (defun mail-add-payment-async (&optional arg))
48 (defun netrc-get (alist type))
49 (defun netrc-machine (list machine &optional port defaultport))
50 (defun netrc-machine-user-or-password (mode authinfo-file-or-list machines
51 ports defaults))
52 (defun netrc-parse (file))
53 (defun split-line (&optional arg))
54 (eval-after-load "rmail"
55 '(defun rmail-toggle-header (&optional arg)))
56 (maybe-fbind
57 '(bookmark-default-handler
58 bookmark-get-bookmark-record bookmark-make-record-default
59 bookmark-prop-get clear-string codepage-setup coding-system-from-name
60 cp-supported-codepages create-image delete-overlay detect-coding-string
61 display-time-event-handler epg-check-configuration event-click-count
62 event-end event-start find-coding-systems-for-charsets
63 find-coding-systems-region find-coding-systems-string find-image
64 float-time gnutls-negotiate help-buffer ido-completing-read image-size
65 image-type-available-p insert-image libxml-parse-html-region
66 mail-abbrevs-setup make-mode-line-mouse-map make-network-process
67 mouse-minibuffer-check mouse-movement-p mouse-scroll-subr overlay-lists
68 pgg-display-output-buffer posn-point posn-window put-image read-event
69 recenter-top-bottom rmail-msg-restore-non-pruned-header
70 rmail-swap-buffers-maybe select-safe-coding-system shr-insert-document
71 sort-coding-systems track-mouse ucs-to-char url-generic-parse-url
72 url-insert-file-contents vcard-pretty-print w3-parse-buffer
73 w3m-detect-meta-charset w3m-region window-edges))
74 (maybe-bind
75 '(adaptive-fill-first-line-regexp
76 buffer-display-table completion-styles completion-styles-alist
77 cursor-in-non-selected-windows default-enable-multibyte-characters
78 default-file-name-coding-system eudc-protocol filladapt-mode
79 gnus-agent-expire-current-dirs help-xref-stack-item idna-program
80 installation-directory iswitchb-mode iswitchb-temp-buflist line-spacing
81 mark-active mouse-selection-click-count mouse-selection-click-count-buffer
82 ps-print-color-p rmail-default-file rmail-default-rmail-file
83 rmail-insert-mime-forwarded-message-function show-trailing-whitespace
84 smtpmail-default-smtp-server temporary-file-directory tool-bar-mode
85 transient-mark-mode url-version w3-meta-charset-content-type-regexp
86 w3m-link-map w3-meta-content-type-charset-regexp))
88 (when (or (and (= emacs-major-version 21) (= emacs-minor-version 4))
89 (featurep 'sxemacs))
90 (maybe-fbind
91 '(custom-autoload
92 decode-char display-graphic-p display-images-p display-visual-class
93 get-display-table help-function-arglist make-temp-file
94 next-single-char-property-change put-display-table
95 select-frame-set-input-focus set-buffer-multibyte string-as-multibyte
96 timer-set-function unicode-precedence-list unicode-to-char))
97 (maybe-bind
98 '(header-line-format
99 scroll-margin timer-list)))
101 (unless (featurep 'mule)
102 (maybe-fbind
103 '(ccl-execute-on-string
104 char-charset charsetp coding-system-get find-charset-region
105 get-charset-property pgg-display-output-buffer pgg-parse-crc24-string
106 unicode-precedence-list))
107 (maybe-bind
108 '(current-language-environment
109 language-info-alist pgg-parse-crc24)))
111 (unless (featurep 'file-coding)
112 (maybe-fbind
113 '(coding-system-aliasee
114 coding-system-base coding-system-change-eol-conversion coding-system-list
115 coding-system-p decode-coding-region decode-coding-string
116 detect-coding-region encode-coding-region encode-coding-string
117 find-coding-system))
118 (maybe-bind
119 '(buffer-file-coding-system
120 coding-system-for-read coding-system-for-write
121 enable-multibyte-characters file-name-coding-system))))
123 (provide 'lpath)