[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58863: 29.0.50; Newly opened Dired buffers are usually modified
From: |
Eli Zaretskii |
Subject: |
bug#58863: 29.0.50; Newly opened Dired buffers are usually modified |
Date: |
Sat, 29 Oct 2022 16:03:33 +0300 |
> Date: Sat, 29 Oct 2022 18:01:06 +0700
> From: daanturo <daanturo@gmail.com>
>
> When I open a new Dired buffer without doing anything,
> `buffer-modified-p` usually returns `t`, especially for directories
> under $HOME.
>
> ```bash
>
> emacs -Q --eval "(progn
> (find-file \"$(mktemp -d)\")
> (print (buffer-modified-p (current-buffer))))"
>
> ```
> Observed: Emacs prints `t`
> Expected: Emacs prints `nil`
>
> Instead of "$(mktemp -d)", "~" is also reproducible, but not "/".
>
> This looks like a regression of current master that doesn't present on
> Emacs 28.1.
Thanks, fixed.