unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Package paths within a defun
@ 2024-05-06 21:11 Heime
  0 siblings, 0 replies; only message in thread
From: Heime @ 2024-05-06 21:11 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

I have a number of defvar variables storing package paths and am wondering 
whether it is permissible to include them inside a defun, so when I call
the function, they will be defined. 

(defun mbcomplt-paths
  "Set variables storing package paths."

(defvar mbcomplt-ftrk
  (concat contrib-ftrk "/mbcomplt")
  "Path to minibuffer completion frameworks.")

(defvar icvert-ftrk
  (concat mbcomplt-ftrk "/icvert/")
  "Path to icomplete vertical minibuffer completion.")

(defvar ivy-ftrk
  (concat mbcomplt-ftrk "/ivy/")
  "Path to ivy minibuffer completion.")

(defvar vertico-ftrk
  (concat mbcomplt-ftrk "/vertico/vertico-0.28")
  "Path to vertico minibuffer completion.")

(defvar helm-ftrk
  (concat mbcomplt-ftrk "/helm/helm-A")
  "Path for helm winibuffer completion.")

)








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

only message in thread, other threads:[~2024-05-06 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 21:11 Package paths within a defun Heime

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).