GNU bug report logs - #38818
Dired: mention deleting buffers, not just windows

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 30 Dec 2019 16:45:02 UTC

Severity: wishlist

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pieter van Oostrum <pieter-l <at> vanoostrum.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 38818 <at> debbugs.gnu.org, 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: bug#38818: Dired: mention deleting buffers, not just windows
Date: Wed, 01 Jan 2020 17:46:52 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> 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]




This bug report was last modified 5 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.