all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to load code conditional on uid
@ 2011-11-11 13:33 Harry Putnam
  2011-11-11 14:44 ` Drew Adams
  0 siblings, 1 reply; 9+ messages in thread
From: Harry Putnam @ 2011-11-11 13:33 UTC (permalink / raw)
  To: help-gnu-emacs

Can anyone shoe an example making the loading of specific code,
conditional on the users ID?

For an example, maybe something like a list of load path additions,
perhaps the equivalent of what you would do with shell type coding,
only in elisp:

if you are specific uid; then ## load theses paths

  (add-to-list 'load-path  "/usr/local/src/vcs/cvs/bbdb") 
  (add-to-list 'load-path  "/usr/local/src/vcs/cvs/bbdb/lisp") 

fi




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-13 23:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.258.1321018489.798.help-gnu-emacs@gnu.org>
2011-11-12  2:40 ` how to load code conditional on uid Jason Rumney
2011-11-11 13:33 Harry Putnam
2011-11-11 14:44 ` Drew Adams
2011-11-11 15:26   ` Harry Putnam
2011-11-11 15:45     ` Drew Adams
2011-11-11 22:46       ` Harry Putnam
2011-11-12 11:19       ` Harry Putnam
2011-11-12 14:36         ` Drew Adams
2011-11-13 23:14           ` Harry Putnam

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.