2006-05-23 Michael Cadilhac <michael.cadilhac@lrde.org>
[gnus] / lisp / lpath.el
1 ;; Shut up.
2
3 (defun maybe-fbind (args)
4   (while args
5     (or (fboundp (car args))
6         (defalias (car args) 'ignore))
7     (setq args (cdr args))))
8
9 (defun maybe-bind (args)
10   (mapcar (lambda (var) (unless (boundp var) (set var nil))) args))
11
12 (maybe-fbind '(Info-directory
13                Info-menu create-image display-graphic-p
14                display-time-event-handler find-coding-system find-image
15                image-size image-type-available-p insert-image
16                line-number-at-pos make-mode-line-mouse-map
17                make-network-process make-temp-file propertize put-image
18                replace-regexp-in-string rmail-msg-is-pruned
19                rmail-msg-restore-non-pruned-header sort-coding-systems
20                tool-bar-add-item tool-bar-add-item-from-menu
21                tool-bar-local-item-from-menu url-generic-parse-url
22                url-http-file-exists-p url-insert-file-contents
23                vcard-pretty-print w32-focus-frame w3m-detect-meta-charset
24                w3m-region x-focus-frame))
25 (maybe-bind '(eudc-protocol
26               filladapt-mode rmail-insert-mime-forwarded-message-function
27               w3-meta-charset-content-type-regexp
28               w3-meta-content-type-charset-regexp))
29
30 (if (featurep 'xemacs)
31     (progn
32       (maybe-fbind '(codepage-setup
33                      delete-overlay detect-coding-string eudc-expand-inline
34                      event-click-count event-end event-start
35                      find-coding-systems-for-charsets
36                      find-coding-systems-region find-coding-systems-string
37                      mail-abbrevs-setup mouse-minibuffer-check mouse-movement-p
38                      mouse-scroll-subr overlay-lists posn-point posn-window
39                      read-event set-buffer-multibyte
40                      select-frame-set-input-focus track-mouse window-edges))
41       (maybe-bind '(adaptive-fill-first-line-regexp
42                     buffer-display-table buffer-file-coding-system
43                     current-language-environment cursor-in-non-selected-windows
44                     default-enable-multibyte-characters
45                     enable-multibyte-characters gnus-agent-expire-current-dirs
46                     language-info-alist mark-active mouse-selection-click-count
47                     mouse-selection-click-count-buffer pgg-parse-crc24
48                     temporary-file-directory transient-mark-mode)))
49   (maybe-fbind '(bbdb-complete-name
50                  delete-annotation delete-extent device-connection dfw-device
51                  events-to-keys font-lock-set-defaults frame-device
52                  get-char-table glyph-height glyph-width ldap-search-entries
53                  mail-aliases-setup make-annotation make-event make-glyph
54                  map-extents message-xmas-redefine
55                  put-char-table set-extent-property temp-directory
56                  valid-image-instantiator-format-p
57                  w3-coding-system-for-mime-charset w3-do-setup
58                  w3-prepare-buffer w3-region window-pixel-height
59                  window-pixel-width))
60   (maybe-bind '(help-echo-owns-message mail-mode-hook mm-w3m-mode-map
61                                        show-nonbreak-escape
62                                        nobreak-char-display)))
63
64 (when (and (featurep 'xemacs)
65            (not (featurep 'mule)))
66   (maybe-fbind '(ccl-execute-on-string
67                  char-charset charsetp coding-system-get define-ccl-program
68                  find-charset-region get-charset-property
69                  pgg-parse-crc24-string))
70   (unless (featurep 'file-coding)
71     (maybe-fbind '(coding-system-base
72                    coding-system-list coding-system-p decode-coding-region
73                    decode-coding-string detect-coding-region
74                    encode-coding-region encode-coding-string))))
75
76 (defun nnkiboze-score-file (a)
77   )
78
79 (defun split-line (&optional arg)
80   )
81
82 (provide 'lpath)
83
84 ;;; arch-tag: d1ad864f-dca6-4d21-aa3f-be3248e66dba