From f5438f0c793c9cd803efcf9cbba301b76956b8e2 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 21 Nov 2000 20:47:49 +0000 Subject: [PATCH] * pcvs.el (uniquify-buffer-file-name): Remove advice. * uniquify.el (uniquify-list-buffers-directory-modes): New var. (uniquify-buffer-file-name): Use it. --- lisp/pcvs.el | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/lisp/pcvs.el b/lisp/pcvs.el index fb9abb12fa2..2edc266e253 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el @@ -14,7 +14,7 @@ ;; Maintainer: (Stefan Monnier) monnier+lists/cvs/pcl@flint.cs.yale.edu ;; Keywords: CVS, version control, release management ;; Version: $Name: $ -;; Revision: $Id: pcvs.el,v 1.16 2000/11/09 12:07:39 fx Exp $ +;; Revision: $Id: pcvs.el,v 1.17 2000/11/09 23:55:05 monnier Exp $ ;; This file is part of GNU Emacs. @@ -2113,19 +2113,6 @@ The exact behavior is determined also by `cvs-dired-use-hook'." (add-hook 'after-save-hook 'cvs-mark-buffer-changed) -;; -;; hook into uniquify -;; - -;; Don't suck in advice.el unless necessary. -(eval-after-load "uniquify" - '(defadvice uniquify-buffer-file-name (after pcl-cvs-uniquify activate) - (or ad-return-value - (save-excursion - (set-buffer (ad-get-arg 0)) - (when (eq major-mode 'cvs-mode) - (setq ad-return-value list-buffers-directory)))))) - (provide 'pcvs) -- 2.39.2