diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2020-08-08 13:49:38 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-08-09 20:48:09 -0300 |
| commit | caaa10876046096320f4e69053542eabe17e7e55 (patch) | |
| tree | d5a18a73cafb3ee8954203ac4dcb74c04bef0aea /emacs/coolj.el | |
| parent | 6fb7d35069c8770b872128156cb4f0511da6b6e9 (diff) | |
emacs: Fix indentation
Diffstat (limited to 'emacs/coolj.el')
| -rw-r--r-- | emacs/coolj.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/emacs/coolj.el b/emacs/coolj.el index 5d311170..961db606 100644 --- a/emacs/coolj.el +++ b/emacs/coolj.el @@ -108,11 +108,11 @@ If the line should not be broken, return nil; point remains on the line." (move-to-column fill-column) (if (and (re-search-forward "[^ ]" (line-end-position) 1) - (> (current-column) fill-column)) + (> (current-column) fill-column)) ;; This line is too long. Can we break it? (or (coolj-find-break-backward prefix) - (progn (move-to-column fill-column) - (coolj-find-break-forward))))) + (progn (move-to-column fill-column) + (coolj-find-break-forward))))) (defun coolj-find-break-backward (prefix) "Move point backward to the first available breakpoint and return t. @@ -135,12 +135,12 @@ If no breakpoint is found, return nil." If no break point is found, return nil." (and (search-forward " " (line-end-position) 1) (progn (skip-chars-forward " " (line-end-position)) - (null (eolp))) + (null (eolp))) (if (and fill-nobreak-predicate - (run-hook-with-args-until-success - 'fill-nobreak-predicate)) - (coolj-find-break-forward) - t))) + (run-hook-with-args-until-success + 'fill-nobreak-predicate)) + (coolj-find-break-forward) + t))) (provide 'coolj) |
