Mercurial > hg > xemacs-beta
annotate lib-src/emacs.csh @ 5583:10f179710250
Deprecate #'remassoc, #'remassq, #'remrassoc, #'remrassq.
src/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* fns.c (remassoc_no_quit):
* fns.c (remrassq_no_quit):
* fns.c (syms_of_fns):
* fontcolor-tty.c (Fregister_tty_color):
* fontcolor-tty.c (Funregister_tty_color):
* fontcolor-tty.c (Ffind_tty_color):
* lisp.h:
Remove Fremassq, Fremrassq, Fremassoc, Fremrassoc, they're
XEmacs-specific functions and Lisp callers should use (delete*
... :key #'car) anyway. Keep the non-Lisp-visible _no_quit
versions, calling FdeleteX from C with the appropriate arguments
is ungainly.
lisp/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* obsolete.el:
* obsolete.el (assq-delete-all):
* packages.el (package-provide):
* packages.el (package-suppress):
* mule/cyrillic.el ("Cyrillic-KOI8"):
* mule/cyrillic.el (koi8-u):
* mule/general-late.el (posix-charset-to-coding-system-hash):
* mule/latin.el:
* mule/latin.el (for):
* cl-extra.el:
* cl-extra.el (cl-extra):
* loadup.el (load-history):
Change any uses of #'remassq, #'remassoc and friends to calling
#'delete* with an appropriate key argument. Provide compatibility
implementations, mark them obsolete.
man/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* lispref/lists.texi (Association Lists):
Don't document #'remassoc, #'remassq and friends in detail;
they're XEmacs-specific and (delete* ... :key #'car) is
preferable.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 09 Oct 2011 12:55:51 +0100 |
parents | 06dd936cde16 |
children |
rev | line source |
---|---|
5491 | 1 ### emacs.csh |
2 | |
3 ## Add legal notice if non-trivial amounts of code are added. | |
4 | |
5 ## Author: Michael DeCorte | |
6 | |
7 ### Commentary: | |
8 | |
9 # Synced up with: GNU 23.1.92. | |
10 # Synced by: Ben Wing, 2-17-10. | |
0 | 11 |
5491 | 12 ## This file is obsolete. Use emacsclient -a instead. |
13 | |
14 ## This defines a csh command named `edit' which resumes an | |
15 ## existing Emacs or starts a new one if none exists. | |
16 ## One way or another, any arguments are passed to Emacs to specify files | |
17 ## (provided you have loaded `resume.el'). | |
18 | |
19 ## These are the possible values of $whichjob | |
20 ## 1 = new ordinary emacs (the -nw is so that it doesn't try to do X) | |
21 ## 2 = resume emacs | |
22 ## 3 = new emacs under X (-i is so that you get a reasonable icon) | |
23 ## 4 = resume emacs under X | |
0 | 24 set EMACS_PATTERN="^\[[0-9]\] . Stopped ............ $EMACS" |
25 | |
26 alias edit 'set emacs_command=("emacs -nw \!*" "fg %emacs" "emacs -i \!* &"\ | |
27 "emacsclient \!* &") ; \ | |
28 jobs >! $HOME/.jobs; grep "$EMACS_PATTERN" < $HOME/.jobs >& /dev/null; \ | |
29 @ isjob = ! $status; \ | |
30 @ whichjob = 1 + $isjob + $?DISPLAY * 2 + $?WINDOW_PARENT * 4; \ | |
31 test -S ~/.emacs_server && emacsclient \!* \ | |
32 || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]' | |
5491 | 33 |
34 # arch-tag: 433d58df-15b9-446f-ad37-f0393e3a23d4 |