diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-04 03:42:58 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-04 03:42:58 +0000 |
commit | df2aad9fa183f6423c8f170a8c926f2fb9d863e6 (patch) | |
tree | 30c097f2cdfe23490f775edb3713e226153de4ef /lisp/uniquify.el | |
parent | 69a9f7eb5bd2015ae72e0276fc4fa91d33319ba5 (diff) | |
download | emacs-df2aad9fa183f6423c8f170a8c926f2fb9d863e6.tar.gz |
(delay-uniquify-rationalize-file-buffer-names):
Don't delete this function from kill-buffer-hook, if it is disabled.
Diffstat (limited to 'lisp/uniquify.el')
-rw-r--r-- | lisp/uniquify.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/uniquify.el b/lisp/uniquify.el index 3ece1e28537..8bb0b734bad 100644 --- a/lisp/uniquify.el +++ b/lisp/uniquify.el @@ -413,9 +413,7 @@ For use on, eg, `kill-buffer-hook', to rationalize *after* buffer deletion." (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'. |