diff options
author | Case Duckworth | 2021-10-05 14:22:18 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-05 14:22:18 -0500 |
commit | 66ecd92944d7d169c0760402f7b8fd0a2f255958 (patch) | |
tree | ca4613eab72d785aa8fe1e3eac320a6867c2e593 /lisp/acdw.el | |
parent | Don't pulse line (diff) | |
download | emacs-66ecd92944d7d169c0760402f7b8fd0a2f255958.tar.gz emacs-66ecd92944d7d169c0760402f7b8fd0a2f255958.zip |
Change `:straight-if` to `:straight-when`
`:straight-when` is a more accurate representation of what it's doing. I also found out that I could change its indentation, which I did.
Diffstat (limited to 'lisp/acdw.el')
-rw-r--r-- | lisp/acdw.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/acdw.el b/lisp/acdw.el index e013fbc..969b6c8 100644 --- a/lisp/acdw.el +++ b/lisp/acdw.el | |||
@@ -352,7 +352,7 @@ In short, DO NOT USE THIS FUNCTION!!!" | |||
352 | (cond | 352 | (cond |
353 | ;; Straight forms require some weirdness | 353 | ;; Straight forms require some weirdness |
354 | ((and s1-straight s2-straight) | 354 | ((and s1-straight s2-straight) |
355 | (let* ((r (rx ":straight" (? "-if") (* space) (? "("))) | 355 | (let* ((r (rx ":straight" (? "-when") (* space) (? "("))) |
356 | (s1 (replace-regexp-in-string r "" s1)) | 356 | (s1 (replace-regexp-in-string r "" s1)) |
357 | (s2 (replace-regexp-in-string r "" s2))) | 357 | (s2 (replace-regexp-in-string r "" s2))) |
358 | (string< s1 s2))) | 358 | (string< s1 s2))) |