Mercurial > emacs
view etc/emacs.py @ 99148:638063658f67
* startup.el (command-line): Call daemon-initialized after
starting the server.
* emacs.c (daemon_pipe): New variable
(main): Create a pipe before forking, make the parent exit only after
the child has closed its end of the pipe. Move closing the
descriptors ...
(Fdaemon_initialized): ... here. New function.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 26 Oct 2008 19:05:47 +0000 |
parents | 69c173eabff4 |
children | bdb3fe0ba9fa ef719132ddfa |
line wrap: on
line source
"""Wrapper for version-specific implementations of python.el helper functions """ import sys if sys.version_info[0] == 3: from emacs3 import * else: from emacs2 import * # arch-tag: 894b5227-638f-45fd-8567-0417d5c35900