Mercurial > emacs
view etc/emacs.csh @ 102521:855091f2ad89
(Ffontset_info, check_fontset_name): New arg frame.
Hanlde NAME nil and t correctly. Callers changed.
(font_def_arg, add_arg, from_arg, to_arg): Delete them.
(set_fontset_font): Change ARG to a vector. Handle range_list in
ARG correctly.
(Fset_fontset_font): Fix the case that TARGET is both a script
name and charset name. Adjusted the arg to set_fontset_font for
the above change.
(fontset_from_font): Fix previous change.
(Ffontset_info): Adjusted for the 2008-07-09 change of fontset
entry. If FONTSET is the default fontset, don't set the extra
slot of the returning char-table.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 13 Mar 2009 05:08:39 +0000 |
parents | 4f618405b3d2 |
children |
line wrap: on
line source
### emacs.csh ## Add legal notice if non-trivial amounts of code are added. ## Author: Michael DeCorte ### Commentary: ## This file is obsolete. Use emacsclient -a instead. ## This defines a csh command named `edit' which resumes an ## existing Emacs or starts a new one if none exists. ## One way or another, any arguments are passed to Emacs to specify files ## (provided you have loaded `resume.el'). ## These are the possible values of $whichjob ## 1 = new ordinary emacs (the -nw is so that it doesn't try to do X) ## 2 = resume emacs ## 3 = new emacs under X (-i is so that you get a reasonable icon) ## 4 = resume emacs under X set EMACS_PATTERN="^\[[0-9]\] . Stopped ............ $EMACS" alias edit 'set emacs_command=("emacs -nw \!*" "fg %emacs" "emacs -i \!* &"\ "emacsclient \!* &") ; \ jobs >! $HOME/.jobs; grep "$EMACS_PATTERN" < $HOME/.jobs >& /dev/null; \ @ isjob = ! $status; \ @ whichjob = 1 + $isjob + $?DISPLAY * 2 + $?WINDOW_PARENT * 4; \ test -S ~/.emacs_server && emacsclient \!* \ || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]' # arch-tag: 433d58df-15b9-446f-ad37-f0393e3a23d4