Remove non-free old and crusty clearcase pkg
[packages] / xemacs-packages / 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 (unless (featurep 'xemacs)
13   (defun nnkiboze-score-file (a))
14   (maybe-fbind
15    '(Info-menu
16      cp-supported-codepages delete-annotation glyph-height make-annotation
17      make-glyph map-extents set-extent-property set-itimer-function w3-do-setup
18      w3-prepare-buffer w3-region w32-focus-frame w3m-detect-meta-charset
19      w3m-region window-pixel-height window-pixel-width))
20
21   (when (<= emacs-major-version 22)
22     (maybe-fbind '(display-time-event-handler frame-device)))
23
24   (when (= emacs-major-version 21)
25     (defun split-line (&optional arg))
26     (maybe-fbind
27      '(bbdb-complete-name
28        custom-autoload delete-extent device-connection dfw-device
29        events-to-keys find-coding-system find-face font-lock-set-defaults
30        get-char-table glyph-width mail-aliases-setup make-event
31        make-network-process message-xmas-redefine put-char-table temp-directory
32        unicode-precedence-list url-generic-parse-url url-http-file-exists-p
33        url-insert-file-contents valid-image-instantiator-format-p
34        vcard-pretty-print w3-coding-system-for-mime-charset))
35     (maybe-bind
36      '(filladapt-mode
37        help-echo-owns-message itimer-list ps-print-color-p url-version
38        w3-meta-charset-content-type-regexp
39        w3-meta-content-type-charset-regexp))))
40
41 (when (featurep 'xemacs)
42   (defun nnkiboze-score-file (a))
43   (defun split-line (&optional arg))
44   (maybe-fbind
45    '(codepage-setup
46      create-image detect-coding-string display-time-event-handler
47      event-click-count event-end event-start find-coding-systems-for-charsets
48      find-coding-systems-region find-coding-systems-string find-image
49      image-size image-type-available-p insert-image mail-abbrevs-setup
50      make-mode-line-mouse-map make-network-process mouse-minibuffer-check
51      mouse-movement-p mouse-scroll-subr posn-point posn-window put-image
52      read-event rmail-msg-is-pruned rmail-msg-restore-non-pruned-header
53      select-safe-coding-system sort-coding-systems track-mouse
54      url-generic-parse-url url-http-file-exists-p url-insert-file-contents
55      vcard-pretty-print w3m-detect-meta-charset window-edges))
56   (maybe-bind
57    '(adaptive-fill-first-line-regexp
58      buffer-display-table cursor-in-non-selected-windows
59      default-enable-multibyte-characters filladapt-mode
60      gnus-agent-expire-current-dirs idna-program installation-directory
61      line-spacing mark-active mouse-selection-click-count
62      mouse-selection-click-count-buffer
63      rmail-insert-mime-forwarded-message-function tool-bar-mode
64      transient-mark-mode url-version w3-meta-charset-content-type-regexp
65      w3-meta-content-type-charset-regexp))
66
67   (when (or (and (= emacs-major-version 21) (= emacs-minor-version 4))
68             (featurep 'sxemacs))
69     (maybe-fbind
70      '(custom-autoload
71        display-graphic-p display-images-p display-visual-class
72        replace-regexp-in-string select-frame-set-input-focus
73        unicode-precedence-list w32-focus-frame x-focus-frame)))
74
75   (unless (featurep 'mule)
76     (maybe-fbind
77      '(ccl-execute-on-string
78        charsetp coding-system-get get-charset-property pgg-parse-crc24-string
79        unicode-precedence-list))
80     (maybe-bind
81      '(current-language-environment language-info-alist pgg-parse-crc24)))
82
83   (unless (featurep 'file-coding)
84     (maybe-fbind
85      '(coding-system-base
86        coding-system-change-eol-conversion coding-system-list coding-system-p
87        find-coding-system))
88     (maybe-bind '(buffer-file-coding-system enable-multibyte-characters))))
89
90 (provide 'lpath)
91
92 ;;; arch-tag: d1ad864f-dca6-4d21-aa3f-be3248e66dba