The only plus `hook-defun' has over (add-hook 'hook (defun name ... )) is the
ability to add the same function to multiple hooks at once. My init files
don't use that functionality, so I've retired this macro for now.
I'm thinking, honestly, that if a function is used in more than one hook, it
should be defined separately and added to each hook in turn ... you know, like
Emacs does it by default.
`acdw/system' parsed arities of the form
(acdw/system (:home (do-thing)))
incorrectly: instead of expanding to (pcase acdw/system (:home (do-thing))),
it parsed to ... something else that tried to call `:home' as a function and
crapped out. I've fixed that issue and clarified the `cond' clauses.
`acdw/system' eases configuration -- it returns the system when called with no
arguments, acts as a test with one argument, or as a `pcase' with more than one
argument.
Does the same thing (in general) as the dos2unix C program. By which I mean,
it converts \r\n to \n in the buffer. It doesn't do anything else.
... So it really doesn't do much of the same thing as dos2unix.
- Redefine as much as possible as `setup' forms
- Reorganize into "Setup", "Basics", and "Packages" sections
- Within each section, alphabetize sexps
- Also (mostly) alphabetize acdw- files
- (Not the ones that are almost completely others' code)
- Sidebar: Why is this not a thing in elisp!? Should write a function
- Break karthink's thing into another library `acdw-re'
- Add a function to `acdw': `acdw/find-emacs-source'
- Should refactor that to better find the source
I think everything looks much more better now!
When I changed `unpackaged/org-element-descendent-of' to
`acdw-org/element-descendent-of' (honestly, to make it easier to see where the
definition of the function is), I didn't change all the references to that
function.
Added a block at the top of the function to call `auto-fill-function' if it's
enabled, and I changed the calls to `newline' to `insert "\n"`, due to
... something. It was having issues figuring out that the new lines were list
items I think.
I also removed the message part in the middle of the function that I forgot to
remove before.