linux - Can .emacs location be specified with an environment variable? -


i work in environment log in ourselves, sudo common user. (bleah). i'm starting use emacs , specify own .emacs file @ launch. think want specify location of .emacs environment variable, don't see way in emacs documentation. there one?

as alternative, perhaps need learn elisp , conditionally load own file out of common .emacs file located in /home/common_user/.emacs? in case, have environment variable sudo_user set name 'lcuff', , environment variable my_conf set /foo/bar/blah/lcuff, wherein i'd store own .emacs file. how this?

thoughts , advice appreciated.

see:
c-hig (emacs) find init ret

failing else, can specify $home command env:

env home=/foo/bar/blah/lcuff emacs 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -