|
From: | Dmitry Gutov |
Subject: | Re: project--files-in-directory: code formatting |
Date: | Wed, 4 Nov 2020 20:19:19 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 04.11.2020 15:26, Manuel Uberti wrote:
Woudln't it be cleaner formatted this way? (command (format "%s %s %s -type f %s -print0" find-program localdir (xref--find-ignores-arguments ignores localdir) (if files (concat (shell-quote-argument "(") " " find-name-arg " " (mapconcat #'shell-quote-argument (split-string files) (concat " -o " find-name-arg " ")) " " (shell-quote-argument ")")) ""))) Basically, the "else" of "if files..." on a new line, with the remaining parenthesis on the same line as this "else". What do you think?
Thanks! It was basically a typo (mine), not some actual preference.
[Prev in Thread] | Current Thread | [Next in Thread] |