diff options
| author | Miles Bader | 2005-06-10 09:13:25 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-10 09:13:25 +0000 |
| commit | 94d5c8765b8bb2f38f95f59456040a8ab732d909 (patch) | |
| tree | ee00eb6137d82737ae33317806f8180b4bc92f33 | |
| parent | 2058218eac7b3f04b402a876e63b3edd2f2cdd2f (diff) | |
| download | emacs-94d5c8765b8bb2f38f95f59456040a8ab732d909.tar.gz emacs-94d5c8765b8bb2f38f95f59456040a8ab732d909.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-380
Update uses of renamed pcvs faces
2005-06-10 Miles Bader <miles@gnu.org>
* lisp/pcvs.el (cvs-mode-find-file): Use renamed pcvs faces.
* lisp/pcvs-defs.el (cvs-mode-map): Likewise.
* lisp/cvs-status.el (cvs-status-font-lock-keywords): Likewise.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/cvs-status.el | 6 | ||||
| -rw-r--r-- | lisp/pcvs-defs.el | 4 | ||||
| -rw-r--r-- | lisp/pcvs.el | 2 |
4 files changed, 10 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6ec845adcf3..269d89ef376 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2005-06-10 Miles Bader <miles@gnu.org> | 1 | 2005-06-10 Miles Bader <miles@gnu.org> |
| 2 | 2 | ||
| 3 | * pcvs.el (cvs-mode-find-file): Use renamed pcvs faces. | ||
| 4 | * pcvs-defs.el (cvs-mode-map): Likewise. | ||
| 5 | * cvs-status.el (cvs-status-font-lock-keywords): Likewise. | ||
| 6 | |||
| 3 | * pcvs-info.el (cvs-header, cvs-filename, cvs-unknown) | 7 | * pcvs-info.el (cvs-header, cvs-filename, cvs-unknown) |
| 4 | (cvs-handled, cvs-need-action, cvs-marked, cvs-msg): | 8 | (cvs-handled, cvs-need-action, cvs-marked, cvs-msg): |
| 5 | Remove "-face" suffix from face names. | 9 | Remove "-face" suffix from face names. |
diff --git a/lisp/cvs-status.el b/lisp/cvs-status.el index 324da8d3ce1..c8bd1e7e905 100644 --- a/lisp/cvs-status.el +++ b/lisp/cvs-status.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cvs-status.el --- major mode for browsing `cvs status' output -*- coding: utf-8 -*- | 1 | ;;; cvs-status.el --- major mode for browsing `cvs status' output -*- coding: utf-8 -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Stefan Monnier <monnier@cs.yale.edu> | 5 | ;; Author: Stefan Monnier <monnier@cs.yale.edu> |
| 6 | ;; Keywords: pcl-cvs cvs status tree tools | 6 | ;; Keywords: pcl-cvs cvs status tree tools |
| @@ -73,8 +73,8 @@ | |||
| 73 | 73 | ||
| 74 | (defconst cvs-status-font-lock-keywords | 74 | (defconst cvs-status-font-lock-keywords |
| 75 | `((,cvs-status-entry-leader-re | 75 | `((,cvs-status-entry-leader-re |
| 76 | (1 'cvs-filename-face) | 76 | (1 'cvs-filename) |
| 77 | (2 'cvs-need-action-face)) | 77 | (2 'cvs-need-action)) |
| 78 | (,cvs-status-tags-leader-re | 78 | (,cvs-status-tags-leader-re |
| 79 | (,cvs-status-rev-re | 79 | (,cvs-status-rev-re |
| 80 | (save-excursion (re-search-forward "^\n" nil 'move) (point)) | 80 | (save-excursion (re-search-forward "^\n" nil 'move) (point)) |
diff --git a/lisp/pcvs-defs.el b/lisp/pcvs-defs.el index 27629c5ddc6..62c0d62d161 100644 --- a/lisp/pcvs-defs.el +++ b/lisp/pcvs-defs.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; pcvs-defs.el --- variable definitions for PCL-CVS | 1 | ;;; pcvs-defs.el --- variable definitions for PCL-CVS |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | ;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 4 | ;; 2000, 2003, 2004 Free Software Foundation, Inc. | 4 | ;; 2000, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Stefan Monnier <monnier@cs.yale.edu> | 6 | ;; Author: Stefan Monnier <monnier@cs.yale.edu> |
| 7 | ;; Keywords: pcl-cvs | 7 | ;; Keywords: pcl-cvs |
| @@ -381,7 +381,7 @@ This variable is buffer local and only used in the *cvs* buffer.") | |||
| 381 | ;; mouse bindings | 381 | ;; mouse bindings |
| 382 | ([mouse-2] . cvs-mode-find-file) | 382 | ([mouse-2] . cvs-mode-find-file) |
| 383 | ([follow-link] . (lambda (pos) | 383 | ([follow-link] . (lambda (pos) |
| 384 | (if (eq (get-char-property pos 'face) 'cvs-filename-face) t))) | 384 | (if (eq (get-char-property pos 'face) 'cvs-filename) t))) |
| 385 | ([(down-mouse-3)] . cvs-menu) | 385 | ([(down-mouse-3)] . cvs-menu) |
| 386 | ;; dired-like bindings | 386 | ;; dired-like bindings |
| 387 | ("\C-o" . cvs-mode-display-file) | 387 | ("\C-o" . cvs-mode-display-file) |
diff --git a/lisp/pcvs.el b/lisp/pcvs.el index 7c96a080c54..adcbba2792b 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el | |||
| @@ -1980,7 +1980,7 @@ With a prefix, opens the buffer in an OTHER window." | |||
| 1980 | (when (and (/= (point) (progn (posn-set-point (event-end e)) (point))) | 1980 | (when (and (/= (point) (progn (posn-set-point (event-end e)) (point))) |
| 1981 | (not (memq (get-text-property (1- (line-end-position)) | 1981 | (not (memq (get-text-property (1- (line-end-position)) |
| 1982 | 'font-lock-face) | 1982 | 'font-lock-face) |
| 1983 | '(cvs-header-face cvs-filename-face)))) | 1983 | '(cvs-header cvs-filename)))) |
| 1984 | (error "Not a file name")) | 1984 | (error "Not a file name")) |
| 1985 | (cvs-mode! | 1985 | (cvs-mode! |
| 1986 | (lambda (&optional rev) | 1986 | (lambda (&optional rev) |