Mercurial > emacs
changeset 28857:3ec1142abebd
(cvs-status-minor-wrap): Use mark-active.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 10 May 2000 22:08:28 +0000 |
parents | 20f840aa2301 |
children | 85d4cc0b8741 |
files | lisp/cvs-status.el |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/cvs-status.el Wed May 10 21:54:40 2000 +0000 +++ b/lisp/cvs-status.el Wed May 10 22:08:28 2000 +0000 @@ -5,7 +5,7 @@ ;; Author: Stefan Monnier <monnier@cs.yale.edu> ;; Keywords: pcl-cvs cvs status tree ;; Version: $Name: $ -;; Revision: $Id: cvs-status.el,v 1.2 2000/03/22 01:01:36 monnier Exp $ +;; Revision: $Id: cvs-status.el,v 1.3 2000/03/22 01:08:08 monnier Exp $ ;; This file is part of GNU Emacs. @@ -142,8 +142,7 @@ (cons (cons (cvs-status-current-file) (cvs-status-current-tag)) - (when (ignore-errors (mark)) - ;; `mark-active' is not provided by XEmacs :-( + (when mark-active (save-excursion (goto-char (mark)) (cons (cvs-status-current-file) @@ -506,6 +505,9 @@ ;;; Change Log: ;; $Log: cvs-status.el,v $ +;; Revision 1.3 2000/03/22 01:08:08 monnier +;; (cvs-status-mode): Use define-derived-mode. +;; ;; Revision 1.2 2000/03/22 01:01:36 monnier ;; (cvs-status-(prev|next)): Rename from ;; cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.