help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Store and using directory path references


From: Heime
Subject: Store and using directory path references
Date: Wed, 28 Aug 2024 09:38:06 +0000

I have a lot of defconsts to store as directory path references, essential
for loading and requiring files associated with specific functionality.

Because I have many such path references, can this sequence of directories
be differently constructed so the values can be defined and accessed more
easily.

(defconst mars-orella-waypt
  "~/bin/gadin/orella"
  "Docstring"

(defconst marshal-waypt
  (concat mars-orella-waypt "/marshal")
  "Docstring"

(defconst mars-okta-waypt
  (concat mars-orella-waypt "/okta" )
  "Docstring"

(defun mars-okta (&optional actn)
  "Locate and load 'okta feature.  Progress action message."

  (add-to-list 'load-path mars-okta-waypt)
  (require 'okta))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]