diff options
| author | André Spiegel | 2001-11-09 14:58:21 +0000 |
|---|---|---|
| committer | André Spiegel | 2001-11-09 14:58:21 +0000 |
| commit | becd6193d40f0f0a4370cd572f394297ca7fb937 (patch) | |
| tree | 24a47b723c7783d27fb730054380bd8b21f5e095 | |
| parent | fd828872b1ce37fa027d811ea052d16e0c9bdab0 (diff) | |
| download | emacs-becd6193d40f0f0a4370cd572f394297ca7fb937.tar.gz emacs-becd6193d40f0f0a4370cd572f394297ca7fb937.zip | |
(vc-error-occured): Backquotified.
(vc-file-prop-obarray): Use prime length for better efficiency.
Suggested by Kalle Olavi Niemitalo <kon@iki.fi>.
| -rw-r--r-- | lisp/vc-hooks.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 5083c1eed4e..8b2eecf4b26 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: FSF (see vc.el for full credits) | 5 | ;; Author: FSF (see vc.el for full credits) |
| 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> | 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> |
| 7 | 7 | ||
| 8 | ;; $Id: vc-hooks.el,v 1.133 2001/09/22 20:09:40 monnier Exp $ | 8 | ;; $Id: vc-hooks.el,v 1.134 2001/09/24 16:36:14 monnier Exp $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -129,7 +129,7 @@ VC commands are globally reachable under the prefix `\\[vc-prefix-map]': | |||
| 129 | \\{vc-prefix-map}") | 129 | \\{vc-prefix-map}") |
| 130 | 130 | ||
| 131 | (defmacro vc-error-occurred (&rest body) | 131 | (defmacro vc-error-occurred (&rest body) |
| 132 | (list 'condition-case nil (cons 'progn (append body '(nil))) '(error t))) | 132 | `(condition-case nil (progn ,@body nil) (error t))) |
| 133 | 133 | ||
| 134 | ;; We need a notion of per-file properties because the version | 134 | ;; We need a notion of per-file properties because the version |
| 135 | ;; control state of a file is expensive to derive --- we compute | 135 | ;; control state of a file is expensive to derive --- we compute |
| @@ -137,7 +137,7 @@ VC commands are globally reachable under the prefix `\\[vc-prefix-map]': | |||
| 137 | ;; during any subsequent VC operations, and forget them when | 137 | ;; during any subsequent VC operations, and forget them when |
| 138 | ;; the buffer is killed. | 138 | ;; the buffer is killed. |
| 139 | 139 | ||
| 140 | (defvar vc-file-prop-obarray (make-vector 16 0) | 140 | (defvar vc-file-prop-obarray (make-vector 17 0) |
| 141 | "Obarray for per-file properties.") | 141 | "Obarray for per-file properties.") |
| 142 | 142 | ||
| 143 | (defvar vc-touched-properties nil) | 143 | (defvar vc-touched-properties nil) |