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

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

bug#39683: [PATCH] Add NOFOLLOW flag to set-file-modes etc.


From: Eli Zaretskii
Subject: bug#39683: [PATCH] Add NOFOLLOW flag to set-file-modes etc.
Date: Thu, 20 Feb 2020 16:51:53 +0200

> From: Paul Eggert <address@hidden>
> Date: Wed, 19 Feb 2020 16:34:00 -0800
> Cc: Paul Eggert <address@hidden>
> 
> diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
> index 0069c1744d..de5e8bb567 100644
> --- a/lisp/dired-aux.el
> +++ b/lisp/dired-aux.el
> @@ -409,7 +409,8 @@ dired-do-chmod
>        (set-file-modes
>         file
>         (if num-modes num-modes
> -      (file-modes-symbolic-to-number modes (file-modes file)))))
> +      (file-modes-symbolic-to-number modes (file-modes file t)))

Can we please use some descriptive symbol, like 'nofollow, instead of
just t?  I expect that to save at least some of us an extra read of
the doc string each time we see such code.

TIA





reply via email to

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