Going to hidden topics doesn't sound useful.
[gnus.git] / lisp / lpath.el
blob718966b6a67842c1c2e0532f990ff528f01d19a5
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 completion-at-point display-time-event-handler
34 epg-check-configuration 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 '(epa-file-encrypt-to 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 completion-at-point cp-supported-codepages create-image delete-overlay
61 detect-coding-string display-time-event-handler epg-check-configuration
62 event-click-count 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 epa-file-encrypt-to eudc-protocol
79 filladapt-mode gnus-agent-expire-current-dirs help-xref-stack-item
80 idna-program installation-directory iswitchb-mode iswitchb-temp-buflist
81 line-spacing mark-active mouse-selection-click-count
82 mouse-selection-click-count-buffer ps-print-color-p rmail-default-file
83 rmail-default-rmail-file rmail-insert-mime-forwarded-message-function
84 show-trailing-whitespace smtpmail-default-smtp-server
85 temporary-file-directory tool-bar-mode transient-mark-mode url-version
86 w3-meta-charset-content-type-regexp w3m-link-map
87 w3-meta-content-type-charset-regexp))
89 (when (or (and (= emacs-major-version 21) (= emacs-minor-version 4))
90 (featurep 'sxemacs))
91 (maybe-fbind
92 '(current-idle-time
93 custom-autoload decode-char display-graphic-p display-images-p
94 display-visual-class get-display-table help-function-arglist
95 make-temp-file next-single-char-property-change put-display-table
96 select-frame-set-input-focus set-buffer-multibyte set-char-table-range
97 string-as-multibyte timer-set-function unicode-precedence-list
98 unicode-to-char))
99 (maybe-bind
100 '(header-line-format
101 scroll-margin timer-list)))
103 (unless (featurep 'mule)
104 (maybe-fbind
105 '(ccl-execute-on-string
106 char-charset charsetp coding-system-get find-charset-region
107 get-charset-property pgg-display-output-buffer pgg-parse-crc24-string
108 unicode-precedence-list))
109 (maybe-bind
110 '(current-language-environment
111 language-info-alist pgg-parse-crc24)))
113 (unless (featurep 'file-coding)
114 (maybe-fbind
115 '(coding-system-aliasee
116 coding-system-base coding-system-change-eol-conversion coding-system-list
117 coding-system-p decode-coding-region decode-coding-string
118 detect-coding-region encode-coding-region encode-coding-string
119 find-coding-system))
120 (maybe-bind
121 '(buffer-file-coding-system
122 coding-system-for-read coding-system-for-write
123 enable-multibyte-characters file-name-coding-system))))
125 (provide 'lpath)