6
votes
Launch emacs with ediff-files (of ediff-directories) from command line
I use the following script: it checks in advance if there are differences, and in case there are, it opens Emacs with the appropriate function evaluated. With the -d option, it assumes the items ...
3
votes
Accepted
script to Ediff two files in running gui Emacs?
I use this to diff from bash. --eval is what I think you are looking for.
If you are not using emacsclient you can adjust the first portion accordingly.
ediff ()
{
if [ -d $1 ]; then
...
3
votes
Portable Emacs: Remapping user-emacs-directory
The patch which allows you to specify .emacs.d location via `EMACS_USER_DIRECTORY' environment variable is available in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=15539 but it's not yet merged.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
invocation × 7command-line-arguments × 3
ediff × 2
init-file × 1
microsoft-windows × 1
emacsclient × 1
search × 1
start-up × 1
server × 1
batch-mode × 1
eval-expression × 1