aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/pcvs-util.el
diff options
context:
space:
mode:
authorGerd Moellmann2000-08-06 09:18:02 +0000
committerGerd Moellmann2000-08-06 09:18:02 +0000
commitdedffa6a6bdfbfe6bb1257579734bc4467ebc7bc (patch)
tree8dfc2b24b4270a8e6b511d3630a91bb8efa13009 /lisp/pcvs-util.el
parentdc79c3ea3c2fbcaf80b70e33517c573451d671bb (diff)
downloademacs-dedffa6a6bdfbfe6bb1257579734bc4467ebc7bc.tar.gz
emacs-dedffa6a6bdfbfe6bb1257579734bc4467ebc7bc.zip
Use `nth' instead of `first', `second', and `third'.
Diffstat (limited to 'lisp/pcvs-util.el')
-rw-r--r--lisp/pcvs-util.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/pcvs-util.el b/lisp/pcvs-util.el
index e8b71a120bc..06a07583482 100644
--- a/lisp/pcvs-util.el
+++ b/lisp/pcvs-util.el
@@ -5,7 +5,7 @@
5;; Author: Stefan Monnier <monnier@cs.yale.edu> 5;; Author: Stefan Monnier <monnier@cs.yale.edu>
6;; Keywords: pcl-cvs 6;; Keywords: pcl-cvs
7;; Version: $Name: $ 7;; Version: $Name: $
8;; Revision: $Id: pcvs-util.el,v 1.2 2000/03/17 10:07:00 fx Exp $ 8;; Revision: $Id: pcvs-util.el,v 1.1 2000/08/05 19:33:53 gerd Exp gerd $
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -314,7 +314,7 @@ See `cvs-prefix-set' for further description of the behavior."))
314 (unless (>= (length defaults) cvs-prefix-number) 314 (unless (>= (length defaults) cvs-prefix-number)
315 (setq defaults (append defaults 315 (setq defaults (append defaults
316 (make-list (1- cvs-prefix-number) 316 (make-list (1- cvs-prefix-number)
317 (first defaults))))) 317 (nth 0 defaults)))))
318 (-cvs-flags-make ,desc defaults ,qtypedesc ,hist-sym)))))) 318 (-cvs-flags-make ,desc defaults ,qtypedesc ,hist-sym))))))
319 319
320(defun cvs-prefix-make-local (sym) 320(defun cvs-prefix-make-local (sym)
@@ -347,7 +347,7 @@ If ARG is NIL toggle the PREFIX's value between its 0th default and NIL
347 (cond 347 (cond
348 ((null arg) 348 ((null arg)
349 (setf (cvs-flags-persist prefix) nil) 349 (setf (cvs-flags-persist prefix) nil)
350 (unless (symbol-value sym) (first (cvs-flags-defaults prefix)))) 350 (unless (symbol-value sym) (nth 0 (cvs-flags-defaults prefix))))
351 351
352 ((or (consp arg) (< numarg 0)) 352 ((or (consp arg) (< numarg 0))
353 (setf (nth (- numarg) (cvs-flags-defaults prefix)) 353 (setf (nth (- numarg) (cvs-flags-defaults prefix))