Skip to content
  • Jeremy Friesen's avatar
    cf24af20
    ♻️ Extract `rpgdm-core.el' · cf24af20
    Jeremy Friesen authored
    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.
    cf24af20
    ♻️ Extract `rpgdm-core.el'
    Jeremy Friesen authored
    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.
Loading