changeset 19123:056324b1fa58

(delay-uniquify-rationalize-file-buffer-names): Don't delete this function from kill-buffer-hook, if it is disabled.
author Richard M. Stallman <rms@gnu.org>
date Mon, 04 Aug 1997 03:42:58 +0000
parents e18ca4290312
children e5e8552b076a
files lisp/uniquify.el
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/uniquify.el	Mon Aug 04 03:07:28 1997 +0000
+++ b/lisp/uniquify.el	Mon Aug 04 03:42:58 1997 +0000
@@ -413,9 +413,7 @@
   (if (and uniquify-buffer-name-style
 	   uniquify-after-kill-buffer-p)
       (add-hook 'post-command-hook
-		'delayed-uniquify-rationalize-file-buffer-names)
-    (remove-hook 'kill-buffer-hook
-		 'delay-uniquify-rationalize-file-buffer-names)))
+		'delayed-uniquify-rationalize-file-buffer-names)))
 
 (defun delayed-uniquify-rationalize-file-buffer-names ()
   "Rerationalize buffer names and remove self from `post-command-hook'.