[BACK]Return to use-asir-mode.sh CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-mode

Diff for /OpenXM/src/asir-mode/use-asir-mode.sh between version 1.2 and 1.3

version 1.2, 2016/02/12 02:43:33 version 1.3, 2019/06/12 06:14:20
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $OpenXM: OpenXM/src/asir-mode/use-asir-mode.sh,v 1.1 2016/02/12 02:39:26 takayama Exp $  # $OpenXM: OpenXM/src/asir-mode/use-asir-mode.sh,v 1.2 2016/02/12 02:43:33 takayama Exp $
   
 _ok_local() {  _ok_local() {
         echo "------------------------------------------------------------------"          echo "------------------------------------------------------------------"
Line 22  _install_local() {
Line 22  _install_local() {
         cat $OpenXM_HOME/share/emacs/use-asir-mode-local.txt >>$HOME/.emacs.d/init.el          cat $OpenXM_HOME/share/emacs/use-asir-mode-local.txt >>$HOME/.emacs.d/init.el
 }  }
   
   _check() {
       if [ -f $HOME/.emacs ]; then
           grep 'emacs\.d/init\.el' $HOME/.emacs ;
           if [ $? -eq 0 ]; then
               echo "OK ...";
           else
               echo "Warning! init.el is not loaded from .emacs. Check if you load init.el";
               echo "  Example:  Add the following line ";
               echo "       (load \"~/.emacs.d/init.el\") ";
               echo "  to $HOME/.emacs";
           fi
       fi
   }
   
 _install() {  _install() {
         cat $OpenXM_HOME/share/emacs/use-asir-mode-local.txt >>$HOME/.emacs.d/init.el          cat $OpenXM_HOME/share/emacs/use-asir-mode-local.txt >>$HOME/.emacs.d/init.el
 }  }
   _check ;
 if [ $# = 0 ]; then  if [ $# = 0 ]; then
         echo "Usage: use-asir-mode.sh --local" ; \          echo "Usage: use-asir-mode.sh --local" ; \
         echo "       use-asir-mode.sh --local-yes" ; \          echo "       use-asir-mode.sh --local-yes" ; \

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>