Mercurial > emacs
view lisp/README @ 100274:c431d4325972
* termchar.h (struct tty): New members termcap_term_buffer and
termcap_strings_buffer.
* term.c (encode_terminal_code): Free any previous memory blocks
before calling xmalloc for encode_terminal_src or
encode_terminal_dst.
(maybe_fatal): Buffer argument deleted. Don't free buffer here.
All callers changed.
(init_tty): Store termcap data and string buffers in new struct
tty members termcap_term_buffer and termcap_strings_buffer.
(delete_tty): Free them.
(syms_of_term): Initialize encode_terminal_src and
encode_terminal_dst.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 08 Dec 2008 14:43:45 +0000 |
parents | 1ae53bd2e777 |
children |
line wrap: on
line source
This directory contains source code for the parts of Emacs that are written in Emacs Lisp. *.el files are Emacs Lisp source, and the corresponding *.elc files are byte-compiled versions. Byte-compiled files are architecture-independent. The term subdirectory contains Lisp files that customize Emacs for certain terminal types. When Emacs starts, it checks the TERM environment variable to get the terminal type and loads `term/${TERM}.el' if it exists. The other subdirectories hold Lisp packages grouped by their general purpose.