diff options
| author | Karoly Lorentey | 2004-05-18 19:58:00 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-05-18 19:58:00 +0000 |
| commit | 35dfa9b69ea92e3383a5dd325e54fa05e469cc1c (patch) | |
| tree | 0e12c3df740fde7758a8dd646f7028c3949fe53e | |
| parent | c23670f81e059ebe645c88575f4ddfa67f26bf6b (diff) | |
| download | emacs-35dfa9b69ea92e3383a5dd325e54fa05e469cc1c.tar.gz emacs-35dfa9b69ea92e3383a5dd325e54fa05e469cc1c.zip | |
Fix fatal error during startup (rep. by Friedrich Delgado Friedrichs)
lisp/loadup.el: Unconditionally preload server.
lisp/server.el: Change server-getenv to a simple defun.
src/Makefile.in (lisp, shortlisp): Added server.elc.
mac/makefile.MPW (LispSource): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-164
| -rw-r--r-- | README.multi-tty | 1 | ||||
| -rw-r--r-- | lisp/loadup.el | 1 | ||||
| -rw-r--r-- | lisp/server.el | 4 | ||||
| -rw-r--r-- | mac/makefile.MPW | 1 | ||||
| -rw-r--r-- | src/Makefile.in | 2 |
5 files changed, 8 insertions, 1 deletions
diff --git a/README.multi-tty b/README.multi-tty index 87faeb32e4d..0c1e4eb2739 100644 --- a/README.multi-tty +++ b/README.multi-tty | |||
| @@ -182,6 +182,7 @@ to the project by testing, bug reports, and suggestions. Thanks! | |||
| 182 | Robert J. Chassell <bob at rattlesnake dot com> | 182 | Robert J. Chassell <bob at rattlesnake dot com> |
| 183 | Romain Francoise <romain at orebokech dot com> | 183 | Romain Francoise <romain at orebokech dot com> |
| 184 | Ami Fischman <ami at fischman dot org> | 184 | Ami Fischman <ami at fischman dot org> |
| 185 | Friedrich Delgado Friedrichs <friedel at nomaden dot org> | ||
| 185 | Istvan Marko <mi-mtty ar kismala dot com> | 186 | Istvan Marko <mi-mtty ar kismala dot com> |
| 186 | Dan Nicolaescu <dann at ics dot uci dot edu> | 187 | Dan Nicolaescu <dann at ics dot uci dot edu> |
| 187 | Gergely Nagy <algernon at debian dot org> | 188 | Gergely Nagy <algernon at debian dot org> |
diff --git a/lisp/loadup.el b/lisp/loadup.el index 36b9904f4f1..bb00fe8fbbb 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -163,6 +163,7 @@ | |||
| 163 | (load "vmsproc"))) | 163 | (load "vmsproc"))) |
| 164 | (load "abbrev") | 164 | (load "abbrev") |
| 165 | (load "buff-menu") | 165 | (load "buff-menu") |
| 166 | (load "server") ; server-getenv is used throughout the terminal initialization code | ||
| 166 | (if (eq system-type 'vax-vms) | 167 | (if (eq system-type 'vax-vms) |
| 167 | (progn | 168 | (progn |
| 168 | (load "vms-patch"))) | 169 | (load "vms-patch"))) |
diff --git a/lisp/server.el b/lisp/server.el index 57d4b7600b8..7156b7322e3 100644 --- a/lisp/server.el +++ b/lisp/server.el | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | ;; Keywords: processes | 8 | ;; Keywords: processes |
| 9 | 9 | ||
| 10 | ;; Changes by peck@sun.com and by rms. | 10 | ;; Changes by peck@sun.com and by rms. |
| 11 | ;; Overhaul by Karoly Lorentey <lorentey@elte.hu> for multi-tty support. | ||
| 11 | 12 | ||
| 12 | ;; This file is part of GNU Emacs. | 13 | ;; This file is part of GNU Emacs. |
| 13 | 14 | ||
| @@ -872,7 +873,8 @@ Arg NEXT-BUFFER is a suggestion; if it is a live buffer, use it." | |||
| 872 | 873 | ||
| 873 | (global-set-key "\C-x#" 'server-edit) | 874 | (global-set-key "\C-x#" 'server-edit) |
| 874 | 875 | ||
| 875 | (defsubst server-getenv (variable &optional frame) | 876 | ;;;###autoload |
| 877 | (defun server-getenv (variable &optional frame) | ||
| 876 | "Get the value of VARIABLE in the client environment of frame FRAME. | 878 | "Get the value of VARIABLE in the client environment of frame FRAME. |
| 877 | VARIABLE should be a string. Value is nil if VARIABLE is undefined in | 879 | VARIABLE should be a string. Value is nil if VARIABLE is undefined in |
| 878 | the environment. Otherwise, value is a string. | 880 | the environment. Otherwise, value is a string. |
diff --git a/mac/makefile.MPW b/mac/makefile.MPW index 063e63e1759..a398f63a925 100644 --- a/mac/makefile.MPW +++ b/mac/makefile.MPW | |||
| @@ -1017,6 +1017,7 @@ LispSource = ¶ | |||
| 1017 | {Lisp}international:codepage.elc ¶ | 1017 | {Lisp}international:codepage.elc ¶ |
| 1018 | {Lisp}abbrev.elc ¶ | 1018 | {Lisp}abbrev.elc ¶ |
| 1019 | {Lisp}buff-menu.elc ¶ | 1019 | {Lisp}buff-menu.elc ¶ |
| 1020 | {Lisp}server.elc ¶ | ||
| 1020 | {Lisp}byte-run.elc ¶ | 1021 | {Lisp}byte-run.elc ¶ |
| 1021 | {Lisp}cus-start.el ¶ | 1022 | {Lisp}cus-start.el ¶ |
| 1022 | {Lisp}custom.elc ¶ | 1023 | {Lisp}custom.elc ¶ |
diff --git a/src/Makefile.in b/src/Makefile.in index 30dbc9df0cf..15cc8003e59 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -699,6 +699,7 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) $(LIBO | |||
| 699 | lisp= \ | 699 | lisp= \ |
| 700 | ${lispsource}abbrev.elc \ | 700 | ${lispsource}abbrev.elc \ |
| 701 | ${lispsource}buff-menu.elc \ | 701 | ${lispsource}buff-menu.elc \ |
| 702 | ${lispsource}server.elc \ | ||
| 702 | ${lispsource}button.elc \ | 703 | ${lispsource}button.elc \ |
| 703 | ${lispsource}emacs-lisp/byte-run.elc \ | 704 | ${lispsource}emacs-lisp/byte-run.elc \ |
| 704 | ${lispsource}cus-face.elc \ | 705 | ${lispsource}cus-face.elc \ |
| @@ -791,6 +792,7 @@ lisp= \ | |||
| 791 | shortlisp= \ | 792 | shortlisp= \ |
| 792 | ../lisp/abbrev.elc \ | 793 | ../lisp/abbrev.elc \ |
| 793 | ../lisp/buff-menu.elc \ | 794 | ../lisp/buff-menu.elc \ |
| 795 | ../lisp/server.elc \ | ||
| 794 | ../lisp/button.elc \ | 796 | ../lisp/button.elc \ |
| 795 | ../lisp/emacs-lisp/byte-run.elc \ | 797 | ../lisp/emacs-lisp/byte-run.elc \ |
| 796 | ../lisp/cus-face.elc \ | 798 | ../lisp/cus-face.elc \ |