/[emacs]/emacs/etc/emacs.bash
ViewVC logotype

Diff of /emacs/etc/emacs.bash

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by fx, Sun Oct 3 12:34:46 1999 UTC revision 1.1.18.1 by miles, Fri Apr 4 06:19:50 2003 UTC
# Line 7  Line 7 
7  # This function assumes the emacs program is named `emacs' and is somewhere  # This function assumes the emacs program is named `emacs' and is somewhere
8  # in your load path.  If either of these is not true, the most portable  # in your load path.  If either of these is not true, the most portable
9  # (and convenient) thing to do is to make an alias called emacs which  # (and convenient) thing to do is to make an alias called emacs which
10  # refers to the real program, e.g.  # refers to the real program, e.g.
11  #  #
12  #        alias emacs=/usr/local/bin/gemacs  #        alias emacs=/usr/local/bin/gemacs
13  #  #
# Line 33  function edit () Line 33  function edit ()
33        x ) (emacs "$@" &) ;;        x ) (emacs "$@" &) ;;
34        sun ) (emacstool "$@" &) ;;        sun ) (emacstool "$@" &) ;;
35      esac      esac
36   else     else
37      if jobs %emacs 2> /dev/null ; then      if jobs %emacs 2> /dev/null ; then
38         echo "$(pwd)" "$@" >| ${HOME}/.emacs_args && fg %emacs         echo "$(pwd)" "$@" >| ${HOME}/.emacs_args && fg %emacs
39      else      else

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.18.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26