Linting Elisp
TL;DR: - Prefer cl-lib - Prefer spaces to tabs - Resolve various checkdoc complaints
This commit is contained in:
parent
ea274f924a
commit
f089f3c550
11 changed files with 23 additions and 21 deletions
|
|
@ -15,7 +15,7 @@
|
|||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(require 'maybe)
|
||||
(require 'cl-macs)
|
||||
(require 'cl-lib)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Constants
|
||||
|
|
@ -31,7 +31,6 @@
|
|||
;; TODO: Support all three arguments.
|
||||
;; Int -> Int -> Int -> Boolean
|
||||
(cl-defun math-triangle-of-power (&key base power result)
|
||||
;; TODO: Assert two of three are set.
|
||||
(cond
|
||||
((maybe-somes? base power result)
|
||||
(error "All three arguments should not be set"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue