comparison etc/emacs.csh @ 71189:3681678d3d86

Add copyright notice and copying permissions.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 03 Jun 2006 13:53:01 +0000
parents 695cf19ef79e
children 0259a1711394 a8190f7e546e
comparison
equal deleted inserted replaced
71188:d4fb4584a969 71189:3681678d3d86
1 # Copyright (c) 1999, 2003, 2006
2 # Free software Foundation, Inc.
3 #
1 # This defines a csh command named `edit' which resumes an 4 # This defines a csh command named `edit' which resumes an
2 # existing Emacs or starts a new one if none exists. 5 # existing Emacs or starts a new one if none exists.
3 # One way or another, any arguments are passed to Emacs to specify files 6 # One way or another, any arguments are passed to Emacs to specify files
4 # (provided you have loaded `resume.el'). 7 # (provided you have loaded `resume.el').
5 # - Michael DeCorte 8 # - Michael DeCorte
22 @ isjob = ! $status; \ 25 @ isjob = ! $status; \
23 @ whichjob = 1 + $isjob + $?DISPLAY * 2 + $?WINDOW_PARENT * 4; \ 26 @ whichjob = 1 + $isjob + $?DISPLAY * 2 + $?WINDOW_PARENT * 4; \
24 test -S ~/.emacs_server && emacsclient \!* \ 27 test -S ~/.emacs_server && emacsclient \!* \
25 || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]' 28 || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]'
26 29
30 #COPYING PERMISSIONS:
31 #
32 # Permission is hereby granted, free of charge, to any person obtaining
33 # a copy of this file, to deal in the file without restriction, including
34 # without limitation the rights to use, copy, modify, merge, publish,
35 # distribute, sublicense, and/or sell copies of the file, and to
36 # permit persons to whom the file is furnished to do so, subject to
37 # the following condition:
38 #
39 # The above copyright notice and this permission notice shall be
40 # included in all copies or substantial portions of the file.
41
42
27 # arch-tag: 433d58df-15b9-446f-ad37-f0393e3a23d4 43 # arch-tag: 433d58df-15b9-446f-ad37-f0393e3a23d4