Mercurial > emacs
changeset 40851:19448ae09fc0
(vc-error-occured): Backquotified.
(vc-file-prop-obarray): Use prime length for better efficiency.
Suggested by Kalle Olavi Niemitalo <kon@iki.fi>.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Fri, 09 Nov 2001 14:58:21 +0000 |
parents | f5a9c609626a |
children | 9bab19e15c01 |
files | lisp/vc-hooks.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc-hooks.el Fri Nov 09 14:55:52 2001 +0000 +++ b/lisp/vc-hooks.el Fri Nov 09 14:58:21 2001 +0000 @@ -5,7 +5,7 @@ ;; Author: FSF (see vc.el for full credits) ;; Maintainer: Andre Spiegel <spiegel@gnu.org> -;; $Id: vc-hooks.el,v 1.133 2001/09/22 20:09:40 monnier Exp $ +;; $Id: vc-hooks.el,v 1.134 2001/09/24 16:36:14 monnier Exp $ ;; This file is part of GNU Emacs. @@ -129,7 +129,7 @@ \\{vc-prefix-map}") (defmacro vc-error-occurred (&rest body) - (list 'condition-case nil (cons 'progn (append body '(nil))) '(error t))) + `(condition-case nil (progn ,@body nil) (error t))) ;; We need a notion of per-file properties because the version ;; control state of a file is expensive to derive --- we compute @@ -137,7 +137,7 @@ ;; during any subsequent VC operations, and forget them when ;; the buffer is killed. -(defvar vc-file-prop-obarray (make-vector 16 0) +(defvar vc-file-prop-obarray (make-vector 17 0) "Obarray for per-file properties.") (defvar vc-touched-properties nil)