Tidy: Indentation of dash forms
See, e.g. <https://github.com/magnars/dash.el/pull/375>. Ultimately I'd prefer to indent with one distinguished argument, but the noise it causes downstream is likely not worth it. (And, unfortunately, the indentation of the built-in thread-first and thread-last forms has changed to be like this as well, which is even worse, causing 10-11 characters of extra indentation in those forms' bodies!)
This commit is contained in:
parent
29533525c3
commit
a5fbb5d976
5 changed files with 84 additions and 84 deletions
|
|
@ -233,9 +233,9 @@ automatically from the query."
|
|||
;; `org-agenda-multi' is bound non-nil, in which case `org-agenda-finalize' does nothing.
|
||||
;; But we do call `org-agenda-finalize-entries', which allows `org-super-agenda' to work.
|
||||
(->> items
|
||||
(-map #'org-ql-view--format-element)
|
||||
org-agenda-finalize-entries
|
||||
insert)
|
||||
(-map #'org-ql-view--format-element)
|
||||
org-agenda-finalize-entries
|
||||
insert)
|
||||
(insert "\n"))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
@ -355,8 +355,8 @@ For example, an org-ql dynamic block header could look like:
|
|||
When RECURSE is non-nil, recurse into subdirectories. When
|
||||
REGEXP is non-nil, only return files that match REGEXP."
|
||||
(let ((files (->> directories
|
||||
(--map (f-files it nil recurse))
|
||||
-flatten)))
|
||||
(--map (f-files it nil recurse))
|
||||
-flatten)))
|
||||
(if regexp
|
||||
(--select (string-match regexp it)
|
||||
files)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue