♻️ Favor cl- functions
When requiring `rpgdm.el` and it's "child" packages, I encounter the following warnings: > Warning: ‘destructuring-bind’ is an obsolete alias (as of 27.1); use > ‘cl-destructuring-bind’ instead. > > Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ > instead. > > Warning: ‘decf’ is an obsolete alias (as of 27.1); use ‘cl-decf’ > instead. > > Warning: ‘defstruct’ is an obsolete alias (as of 27.1); use > ‘cl-defstruct’ instead. Since we've already required the `cl` package, this should be a noop change.
This commit is contained in:
parent
5c5f17e7a6
commit
25c282c094
6 changed files with 8 additions and 8 deletions
|
|
@ -46,7 +46,7 @@ For instance, Xanathar's Guide to Everything, a Dungeons and Dragons supplement
|
|||
To represent these types of tables, we create a special type, called a =dice-table=. Where the first "slot" is the dice expression (or the number of sides of a dice to roll), and an associative list of result values and the choice.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :results silent
|
||||
(defstruct dice-table dice rows)
|
||||
(cl-defstruct dice-table dice rows)
|
||||
#+END_SRC
|
||||
|
||||
How is this used to render the example table above?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue