bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: 積丹尼 Dan Jacobson
Subject: bug#38818: Dired: mention deleting buffers, not just windows
Date: Fri, 03 Jan 2020 23:10:09 +0800

>>>>> "PvO" == Pieter van Oostrum <address@hidden> writes:
PvO> Michael Heerdegen <address@hidden> 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)))

PvO> The documentation of defun says that its result is undefined. So either
PvO> it should not be relied upon, or (if the result is reliably the defined
PvO> function) it should be documented as such.

OK. So what is the best way I should write it for my .emacs file? Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]