# HG changeset patch # User Richard M. Stallman # Date 870666178 0 # Node ID 056324b1fa580f16ab6a7af0557f04cba1b81621 # Parent e18ca42903122dcb24b87e8fbb7c726e751018b5 (delay-uniquify-rationalize-file-buffer-names): Don't delete this function from kill-buffer-hook, if it is disabled. diff -r e18ca4290312 -r 056324b1fa58 lisp/uniquify.el --- 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'.