all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Store and using directory path references
@ 2024-08-28  9:38 Heime
  0 siblings, 0 replies; only message in thread
From: Heime @ 2024-08-28  9:38 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

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))




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-28  9:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28  9:38 Store and using directory path references Heime

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.