diff options
| author | Pavel Janík | 2002-04-29 08:48:34 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-04-29 08:48:34 +0000 |
| commit | 757a6abf33e8c8d8508193fbc0848ebf7681d94d (patch) | |
| tree | 368108c4cbee29343dc0697ef39a916fe096f974 | |
| parent | ebb81677db3be4e38e2e6c4dddb44eb0dd2c82af (diff) | |
| download | emacs-757a6abf33e8c8d8508193fbc0848ebf7681d94d.tar.gz emacs-757a6abf33e8c8d8508193fbc0848ebf7681d94d.zip | |
(filesets-data): Doc fix.
(filesets-running-xemacs): Define even when compiling.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/filesets.el | 50 |
2 files changed, 31 insertions, 24 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7cbd99b8cb6..36e8811eb07 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-04-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | ||
| 2 | |||
| 3 | * filesets.el (filesets-data): Doc fix. | ||
| 4 | (filesets-running-xemacs): Define even when compiling. | ||
| 5 | |||
| 1 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | 6 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 7 | ||
| 3 | * textmodes/fill.el (fill-context-prefix): Fix last change with | 8 | * textmodes/fill.el (fill-context-prefix): Fix last change with |
diff --git a/lisp/filesets.el b/lisp/filesets.el index fe29dd66283..61284f942ae 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el | |||
| @@ -2,10 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Thomas Link aka t.link (at gmx at) | 5 | ;; Author: Thomas Link <t.link@gmx.at> |
| 6 | ;; Time-stamp: <2002-03-22> | ||
| 7 | ;; Keywords: filesets convenience | 6 | ;; Keywords: filesets convenience |
| 8 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | ||
| 9 | |||
| 9 | ;; This program is free software; you can redistribute it and/or modify | 10 | ;; This program is free software; you can redistribute it and/or modify |
| 10 | ;; it under the terms of the GNU General Public License as published by | 11 | ;; it under the terms of the GNU General Public License as published by |
| 11 | ;; the Free Software Foundation; either version 2, or (at your option) | 12 | ;; the Free Software Foundation; either version 2, or (at your option) |
| @@ -26,29 +27,29 @@ | |||
| 26 | 27 | ||
| 27 | ;;; Commentary: | 28 | ;;; Commentary: |
| 28 | 29 | ||
| 29 | ;;Define filesets, which can be opened or saved with the power one or | 30 | ;; Define filesets, which can be opened or saved with the power one or |
| 30 | ;;two mouse clicks only. A fileset is either a list of files, a file | 31 | ;; two mouse clicks only. A fileset is either a list of files, a file |
| 31 | ;;pattern, a base directory and a search pattern (for files), or an | 32 | ;; pattern, a base directory and a search pattern (for files), or an |
| 32 | ;;inclusion group (i.e. a base file including other files). | 33 | ;; inclusion group (i.e. a base file including other files). |
| 33 | 34 | ||
| 34 | ;;Usage: 1. Put (require 'filesets) into your start-up file. 2. Type | 35 | ;; Usage: 1. Put (require 'filesets) into your start-up file. 2. Type |
| 35 | ;;M-x filesets-edit or choose "Edit Filesets" from the menu. 3. Save | 36 | ;; M-x filesets-edit or choose "Edit Filesets" from the menu. 3. Save |
| 36 | ;;your customizations. | 37 | ;; your customizations. |
| 37 | 38 | ||
| 38 | ;;Caveat: Fileset names have to be unique. | 39 | ;; Caveat: Fileset names have to be unique. |
| 39 | 40 | ||
| 40 | ;;Filesets.el adds a nifty filesets menu to your menubar. If you change | 41 | ;; Filesets.el adds a nifty filesets menu to your menubar. If you change |
| 41 | ;;your filesets on the fly, don't forget to select "Save Filesets" from | 42 | ;; your filesets on the fly, don't forget to select "Save Filesets" from |
| 42 | ;;the menu. | 43 | ;; the menu. |
| 43 | 44 | ||
| 44 | ;;Pressing on the first item in the submenu will open all files at once. | 45 | ;; Pressing on the first item in the submenu will open all files at once. |
| 45 | ;;Define your own function, e.g. browse-url, for opening a fileset's | 46 | ;; Define your own function, e.g. browse-url, for opening a fileset's |
| 46 | ;;files. Or define external viewers for opening files with other | 47 | ;; files. Or define external viewers for opening files with other |
| 47 | ;;programs. See `filesets-external-viewers'. | 48 | ;; programs. See `filesets-external-viewers'. |
| 48 | 49 | ||
| 49 | ;;BTW, if you close a fileset, files, which have been changed, will | 50 | ;; BTW, if you close a fileset, files, which have been changed, will |
| 50 | ;;be silently saved. Change this behaviour by setting | 51 | ;; be silently saved. Change this behaviour by setting |
| 51 | ;;`filesets-save-buffer-fn'. | 52 | ;; `filesets-save-buffer-fn'. |
| 52 | 53 | ||
| 53 | ;;; Supported modes for inclusion groups (`filesets-ingroup-patterns'): | 54 | ;;; Supported modes for inclusion groups (`filesets-ingroup-patterns'): |
| 54 | ;; - Elisp | 55 | ;; - Elisp |
| @@ -82,9 +83,10 @@ | |||
| 82 | 83 | ||
| 83 | 84 | ||
| 84 | ;;; Some variables | 85 | ;;; Some variables |
| 85 | (unless (boundp 'filesets-running-xemacs) | 86 | (eval-and-compile |
| 86 | (defvar filesets-running-xemacs (string-match "XEmacs\\|Lucid" emacs-version) | 87 | (unless (boundp 'filesets-running-xemacs) |
| 87 | "Non-nil means we are runninn XEmacs.")) | 88 | (defvar filesets-running-xemacs (string-match "XEmacs\\|Lucid" emacs-version) |
| 89 | "Non-nil means we are runninn XEmacs."))) | ||
| 88 | 90 | ||
| 89 | (defvar filesets-menu-cache nil | 91 | (defvar filesets-menu-cache nil |
| 90 | "The whole filesets menu.") | 92 | "The whole filesets menu.") |
| @@ -923,7 +925,7 @@ of the file name pattern. | |||
| 923 | :filter-dirs-flag BOOLEAN ... is only used in conjunction with :tree. | 925 | :filter-dirs-flag BOOLEAN ... is only used in conjunction with :tree. |
| 924 | 926 | ||
| 925 | :tree-max-level INTEGER ... recurse into directories this many levels | 927 | :tree-max-level INTEGER ... recurse into directories this many levels |
| 926 | (see `filesets-tree-max-level' for a full explanation) | 928 | \(see `filesets-tree-max-level' for a full explanation) |
| 927 | 929 | ||
| 928 | :dormant-flag BOOLEAN ... non-nil means don't show this item in the | 930 | :dormant-flag BOOLEAN ... non-nil means don't show this item in the |
| 929 | menu; dormant filesets can still be manipulated via commands available | 931 | menu; dormant filesets can still be manipulated via commands available |