♻️ Extract `rpgdm-core.el'
Prior to this commit, I experienced the following use case: Given I have the following code: ```emacs-lisp (require 'rpgdm-dice "~/git/emacs-rpgdm/rpgdm-dice.el") (require 'rpgdm-tables "~/git/emacs-rpgdm/rpgdm-tables.el") (require 'rpgdm-tables-dice "~/git/emacs-rpgdm/rpgdm-tables-dice.el") (require 'rpgdm-tables-freq "~/git/emacs-rpgdm/rpgdm-tables-freq.el") (setq rpgdm-base "~/git/emacs-rpgdm/") ``` And I call `rpgdm-tables-load` And load all the tables. When I then call `rpgdm-tables-choose` Then I get the following error: ``` let*: Symbol’s function definition is void: rpgdm-message ``` With this commit I'm able to skip requiring `rpgdm` and thus only use a segment of the `rpgdm` package ecosystem.
This commit is contained in:
parent
25c282c094
commit
cf24af20b6
6 changed files with 86 additions and 69 deletions
|
|
@ -28,9 +28,9 @@
|
|||
;;;
|
||||
;;; CCode:
|
||||
|
||||
(defvar rpgdm-base ".")
|
||||
(require 'rpgdm-core (expand-file-name "rpgdm-core.el" rpgdm-base) t)
|
||||
(require 'rpgdm-dice (expand-file-name "rpgdm-dice.el" rpgdm-base) t)
|
||||
(require 'rpgdm-dice (expand-file-name "rpgdm-tables.el" rpgdm-base) t)
|
||||
(require 'rpgdm-tables (expand-file-name "rpgdm-tables.el" rpgdm-base) t)
|
||||
|
||||
(defun rpgdm-npc-gender-name ()
|
||||
"Return nil or non-nil for male or female names."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue