diff options
| author | Richard M. Stallman | 2003-05-03 13:48:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-05-03 13:48:39 +0000 |
| commit | 9f243b0d3d1b7583cfe72a564f61c39211f49da9 (patch) | |
| tree | 18c2368523d804752a621b003251f6c7ca312810 | |
| parent | 199a0cb9b34d26747e0371923583a7a090910867 (diff) | |
| download | emacs-9f243b0d3d1b7583cfe72a564f61c39211f49da9.tar.gz emacs-9f243b0d3d1b7583cfe72a564f61c39211f49da9.zip | |
(filesets-data): Add another defvar.
(filesets-verbosity): Doc fix.
| -rw-r--r-- | lisp/filesets.el | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/lisp/filesets.el b/lisp/filesets.el index 384872814de..489a1035499 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | ;; Copyright (C) 2002 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Thomas Link <t.link@gmx.at> | 5 | ;; Author: Thomas Link <t.link@gmx.at> |
| 6 | ;; Maintainer: FSF | ||
| 6 | ;; Keywords: filesets convenience | 7 | ;; Keywords: filesets convenience |
| 7 | 8 | ||
| 8 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| @@ -66,6 +67,13 @@ | |||
| 66 | 67 | ||
| 67 | ;;- better handling of different customization scenarios | 68 | ;;- better handling of different customization scenarios |
| 68 | 69 | ||
| 70 | ;; Data gathering should be better separated from building the menu | ||
| 71 | ;; so that one could (1) use filesets without installing the menu | ||
| 72 | ;; and (2) create new "frontends" to speedbar and others. | ||
| 73 | |||
| 74 | ;; The functionality to call external viewers should be isolated in | ||
| 75 | ;; an extra package and possibly integrated with the MIME | ||
| 76 | ;; handling. | ||
| 69 | 77 | ||
| 70 | ;;; Credits: | 78 | ;;; Credits: |
| 71 | 79 | ||
| @@ -119,8 +127,8 @@ ignored.") | |||
| 119 | Is buffer local variable.") | 127 | Is buffer local variable.") |
| 120 | 128 | ||
| 121 | (defvar filesets-verbosity 1 | 129 | (defvar filesets-verbosity 1 |
| 122 | "An integer defining the level of verbosity. 0 means no messages | 130 | "An integer defining the level of verbosity. |
| 123 | at all.") | 131 | 0 means no messages at all.") |
| 124 | 132 | ||
| 125 | (defvar filesets-menu-ensure-use-cached | 133 | (defvar filesets-menu-ensure-use-cached |
| 126 | (and filesets-running-xemacs | 134 | (and filesets-running-xemacs |
| @@ -264,6 +272,8 @@ key is supported." | |||
| 264 | (setq filesets-has-changed-flag t))) | 272 | (setq filesets-has-changed-flag t))) |
| 265 | ; (filesets-reset-fileset nil t))) | 273 | ; (filesets-reset-fileset nil t))) |
| 266 | 274 | ||
| 275 | (defvar filesets-data) | ||
| 276 | |||
| 267 | (defun filesets-data-set-default (sym val) | 277 | (defun filesets-data-set-default (sym val) |
| 268 | "Set the default for `filesets-data'." | 278 | "Set the default for `filesets-data'." |
| 269 | (if filesets-menu-use-cached-flag | 279 | (if filesets-menu-use-cached-flag |
| @@ -280,9 +290,7 @@ key is supported." | |||
| 280 | (dolist (x modified-filesets) | 290 | (dolist (x modified-filesets) |
| 281 | (filesets-reset-fileset (car x)))))) | 291 | (filesets-reset-fileset (car x)))))) |
| 282 | (filesets-set-default sym val)) | 292 | (filesets-set-default sym val)) |
| 283 | 293 | ||
| 284 | |||
| 285 | |||
| 286 | ;;; configuration | 294 | ;;; configuration |
| 287 | (defgroup filesets nil | 295 | (defgroup filesets nil |
| 288 | "The fileset swapper." | 296 | "The fileset swapper." |
| @@ -1057,8 +1065,7 @@ defined in `filesets-ingroup-patterns'." | |||
| 1057 | :set (function filesets-set-default) | 1065 | :set (function filesets-set-default) |
| 1058 | :type 'integer | 1066 | :type 'integer |
| 1059 | :group 'filesets) | 1067 | :group 'filesets) |
| 1060 | 1068 | ||
| 1061 | |||
| 1062 | ;;; Emacs compatibility | 1069 | ;;; Emacs compatibility |
| 1063 | (eval-and-compile | 1070 | (eval-and-compile |
| 1064 | (if filesets-running-xemacs | 1071 | (if filesets-running-xemacs |