From: André Spiegel Date: Fri, 9 Nov 2001 15:09:58 +0000 (+0000) Subject: (vc-clear-context): Fill obarray with 0, not nil. X-Git-Tag: emacs-21.2~343 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=200f32b42b7d8c971313b23bd0ed523fea7655de;p=emacs.git (vc-clear-context): Fill obarray with 0, not nil. Suggested by Kalle Olavi Niemitalo . --- diff --git a/lisp/vc.el b/lisp/vc.el index 6a20527d06f..9b5fd726858 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -6,7 +6,7 @@ ;; Maintainer: Andre Spiegel ;; Keywords: tools -;; $Id: vc.el,v 1.310 2001/09/22 20:04:21 monnier Exp $ +;; $Id$ ;; This file is part of GNU Emacs. @@ -683,7 +683,7 @@ The keys are \(BUFFER . BACKEND\). See also `vc-annotate-get-backend'.") (defun vc-clear-context () "Clear all cached file properties and the comment ring." (interactive) - (fillarray vc-file-prop-obarray nil) + (fillarray vc-file-prop-obarray 0) ;; Note: there is potential for minor lossage here if there is an open ;; log buffer with a nonzero local value of vc-comment-ring-index. (setq vc-comment-ring (make-ring vc-maximum-comment-ring-size)))