Subject: bug#38818: Dired: mention deleting buffers, not just windows

From: Pieter van Oostrum <[email-masked]>
Date: Wed, 01 Jan 2020 17:46:52 +0100

Michael Heerdegen <[email-masked]> writes:

> Slightly better version:
>
> (add-hook
>  'dired-load-hook
>  (defun my-dired-load-hook-fun ()
>    (require 'dired-x)
>    (define-key dired-mode-map "q" #'kill-current-buffer)))

The documentation of defun says that its result is undefined. So either
it should not be relied upon, or (if the result is reliably the defined
function) it should be documented as such.
-- 
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]