]> git.eshelyaron.com Git - emacs.git/commitdiff
* pcvs.el (uniquify-buffer-file-name): Remove advice.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 21 Nov 2000 20:47:49 +0000 (20:47 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 21 Nov 2000 20:47:49 +0000 (20:47 +0000)
* uniquify.el (uniquify-list-buffers-directory-modes): New var.
(uniquify-buffer-file-name): Use it.

lisp/pcvs.el

index fb9abb12fa24f63cfff247a34e1a8edd80fcf1f0..2edc266e253b05c200061cd01687aa578a1b5afc 100644 (file)
@@ -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))))))
-
 \f
 (provide 'pcvs)