Admin/MacOS/script
changeset 30893 b310beb36645
parent 30891 28c7f7ba9f13
equal deleted inserted replaced
30892:b2dee0d2b618 30893:b310beb36645
    47   "$SUPER_APP/Emacs.app/Contents/MacOS/Emacs" \
    47   "$SUPER_APP/Emacs.app/Contents/MacOS/Emacs" \
    48   /Applications/Emacs.app/Contents/MacOS/Emacs \
    48   /Applications/Emacs.app/Contents/MacOS/Emacs \
    49   "")"
    49   "")"
    50 
    50 
    51 if [ -n "$PROOFGENERAL_EMACS" ]; then
    51 if [ -n "$PROOFGENERAL_EMACS" ]; then
    52   PROOFGENERAL_OPTIONS="-p $PROOFGENERAL_EMACS $PROOFGENERAL_OPTIONS"
    52   EMACS_OPTIONS="-p $PROOFGENERAL_EMACS"
    53 fi
    53 fi
    54 
    54 
    55 
    55 
    56 # run interface with error feedback
    56 # run interface with error feedback
    57 
    57 
    58 OUTPUT="/tmp/isabelle$$.out"
    58 OUTPUT="/tmp/isabelle$$.out"
    59 
    59 
    60 ( "$ISABELLE_TOOL" emacs "$@" ) > "$OUTPUT" 2>&1
    60 ( "$ISABELLE_TOOL" emacs $EMACS_OPTIONS "$@" ) > "$OUTPUT" 2>&1
    61 RC=$?
    61 RC=$?
    62 
    62 
    63 if [ "$RC" != 0 ]; then
    63 if [ "$RC" != 0 ]; then
    64   echo >> "$OUTPUT"
    64   echo >> "$OUTPUT"
    65   echo "Return code: $RC" >> "$OUTPUT"
    65   echo "Return code: $RC" >> "$OUTPUT"