Skip to content

Commit

Permalink
fix verbose style in compute-line
Browse files Browse the repository at this point in the history
fix verbose style in `compute-line`.  changes an `if` to an `or` for better readability and style
  • Loading branch information
SequentialDesign committed Dec 10, 2024
1 parent 49d2f62 commit 5398170
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ext/line-numbers.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ With a positive universal argument, use relative line numbers. Also obey the glo
(line (line-number-at-point point))
(custom-line (variable-value 'custom-current-line :default buffer)))
(if (= cursor-line line)
(if custom-line
custom-line
line)
(or custom-line line)
(abs (- cursor-line line))))
(line-number-at-point point)))

Expand Down

0 comments on commit 5398170

Please sign in to comment.