lib/scripts/isa-emacs
changeset 2474 9990f088d7ac
parent 2390 4e183a4d9cd0
child 2600 be48eff459e9
equal deleted inserted replaced
2473:3eb12c85846c 2474:9990f088d7ac
    16 }
    16 }
    17 
    17 
    18 
    18 
    19 ## main
    19 ## main
    20 
    20 
    21 exec emacs -name "isabelle" $ISABELLE_INTERFACE_OPTIONS -l "$ISAMODE_HOME/elisp/isa-site.el" -l "$ISABELLE_HOME_USER/etc/isa-settings.el" -l "$ISAMODE_HOME/elisp/isa-start.el"
    21 if [ -f "$ISABELLE_HOME_USER/etc/isa-settings.el" ]; then
       
    22   USER_SETTINGS="--load $ISABELLE_HOME_USER/etc/isa-settings.el"
       
    23 else
       
    24   USER_SETTINGS=""
       
    25 fi
       
    26 
       
    27 exec emacs -name "isabelle" \
       
    28   --no-init-file $ISABELLE_INTERFACE_OPTIONS \
       
    29   --load "$ISAMODE_HOME/elisp/isa-site.el" \
       
    30   $USER_SETTINGS \
       
    31   --load $HOME/.emacs \
       
    32   --funcall isabelle