emacs/src
Glenn Morris cbb319513e Stop ns builds setting the EMACSPATH environment variable
Ref bugs 4309, 6401, etc

* src/nsterm.m (ns_exec_path): New function, split from ns_init_paths.
(ns_init_paths): Do not set EMACSPATH.

* src/nsterm.h (ns_exec_path): Add it.

* src/callproc.c (init_callproc_1, init_callproc) [HAVE_NS]: Use ns_exec_path.
2012-07-09 17:28:39 -04:00
..
bitmaps Change bitmaps back to X11-compatible types. 2011-04-16 01:30:05 -07:00
s Rename configure.in to configure.ac. 2012-07-08 21:52:49 -07:00
.dbxinit
.gdbinit .gdbinit: Update to match recent lisp.h changes. 2012-06-13 21:02:35 -07:00
.gitignore Nuke arch-tags. 2011-01-15 15:16:57 -08:00
alloc.c Minor improvements to make_formatted_string. 2012-07-09 09:06:19 -07:00
atimer.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
atimer.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
autodeps.mk Remove src/prefix-args.c. 2010-07-07 20:31:04 -07:00
bidi.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
blockinput.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
buffer.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
buffer.h More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
bytecode.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
callint.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
callproc.c Stop ns builds setting the EMACSPATH environment variable 2012-07-09 17:28:39 -04:00
casefiddle.c * buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline. 2012-06-16 14:24:15 +02:00
casetab.c * buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline. 2012-06-16 14:24:15 +02:00
category.c * buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline. 2012-06-16 14:24:15 +02:00
category.h * category.h (CHAR_HAS_CATEGORY): Define as inline. 2012-06-16 10:20:19 +02:00
ccl.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
ccl.h Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
ChangeLog Stop ns builds setting the EMACSPATH environment variable 2012-07-09 17:28:39 -04:00
ChangeLog.1 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ChangeLog.2 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ChangeLog.3 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ChangeLog.4 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ChangeLog.5 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ChangeLog.6 Fix ChangeLog typos. 2012-04-15 04:59:30 +02:00
ChangeLog.7 More ChangeLog fixes 2012-02-24 14:47:53 -05:00
ChangeLog.8 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ChangeLog.9 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ChangeLog.10 Fix ChangeLog typos. 2012-04-15 04:59:30 +02:00
ChangeLog.11 Fix ChangeLog typos. 2012-04-15 04:59:30 +02:00
character.c * lisp.h (CHECK_RANGED_INTEGER): Make value to check the first 2012-06-30 11:13:54 +02:00
character.h Add GCC-style 'const' attribute to functions that can use it. 2012-07-09 09:38:45 -07:00
charset.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
charset.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
chartab.c Merge from trunk. 2011-12-10 16:56:50 -08:00
cm.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
cm.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
cmds.c * buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline. 2012-06-16 14:24:15 +02:00
coding.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
coding.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
commands.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
composite.c Introduce fast path for the widely used marker operation. 2012-07-06 09:07:44 +04:00
composite.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
COPYING
data.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
dbusbind.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
deps.mk Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
dired.c Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
dispextern.h Cleanup changes following fix for bug #11832. 2012-07-08 19:38:43 +03:00
dispnew.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
disptab.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
doc.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
doprnt.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
dosfns.c Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
dosfns.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
editfns.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
emacs-icon.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
emacs.c Add GCC-style 'const' attribute to functions that can use it. 2012-07-09 09:38:45 -07:00
emacsgtkfixed.c Fix minor GTK3 problems found by static checking. 2012-04-23 00:34:29 -07:00
emacsgtkfixed.h Fix minor GTK3 problems found by static checking. 2012-04-23 00:34:29 -07:00
epaths.in Make --no-site-lisp work for --enable-locallisppath elements 2012-06-30 14:10:50 -07:00
eval.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
fileio.c Do not require float-time's arg to fit in time_t (Bug#11825). 2012-07-06 18:57:42 -07:00
filelock.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
firstfile.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
floatfns.c Merge from trunk. 2012-02-10 10:58:48 -08:00
fns.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
font.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
font.h Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
fontset.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
fontset.h Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
frame.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
frame.h Merge from trunk. 2012-05-25 11:19:24 -07:00
fringe.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
ftfont.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
ftfont.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ftxfont.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
getpagesize.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
gmalloc.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
gnutls.c Merge from emacs-24; up to 2012-04-30T11:57:47Z!sdl.web@gmail.com 2012-06-28 23:28:37 -07:00
gnutls.h Merge 2012-04-09 GnuTLS fix from trunk 2012-04-10 16:00:43 +08:00
gtkutil.c * gtkutil.c (xg_event_is_for_scrollbar): Assign gwin when HAVE_GTK3 is defined. 2012-07-06 17:02:29 +02:00
gtkutil.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
image.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
indent.c * window.h (struct window): Change type of 'hscroll', 2012-06-28 16:29:37 +04:00
indent.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
insdel.c Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
intervals.c * buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline. 2012-06-16 14:24:15 +02:00
intervals.h Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
keyboard.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
keyboard.h Add GCC-style 'const' attribute to functions that can use it. 2012-07-09 09:38:45 -07:00
keymap.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
keymap.h Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
lastfile.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
lisp.h Add GCC-style 'const' attribute to functions that can use it. 2012-07-09 09:38:45 -07:00
lisp.mk Remove paths.el 2012-06-27 00:47:56 -07:00
lread.c * lread.c (load_path_check): Now static. 2012-07-07 12:33:28 -07:00
macros.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
macros.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
Makefile.in * src/Makefile.in (emacs$(EXEEXT)): Don't check for load-path shadows. 2012-07-05 21:29:54 -04:00
makefile.w32-in Update Windows port to gnulib changes in 2012-07-06T21:07:46Z!eggert@cs.ucla.edu. 2012-07-07 02:20:56 +02:00
marker.c Move marker debugging code under MARKER_DEBUG. 2012-07-09 07:15:10 +04:00
mem-limits.h Add GCC-style 'const' attribute to functions that can use it. 2012-07-09 09:38:45 -07:00
menu.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
menu.h Add GCC-style 'const' attribute to functions that can use it. 2012-07-09 09:38:45 -07:00
minibuf.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
msdos.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
msdos.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ndir.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ns.mk Remove trailing / from $ns_appbindir 2012-05-12 11:10:37 -07:00
nsfns.m Use c_strcasecmp for ASCII case-insensitive comparison. 2012-07-06 14:07:46 -07:00
nsfont.m More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
nsgui.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
nsimage.m Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
nsmenu.m More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
nsselect.m Improve static checking when configured --with-ns. 2012-07-07 12:23:41 -07:00
nsterm.h Stop ns builds setting the EMACSPATH environment variable 2012-07-09 17:28:39 -04:00
nsterm.m Stop ns builds setting the EMACSPATH environment variable 2012-07-09 17:28:39 -04:00
pre-crt0.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
print.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
process.c * process.c (wait_reading_process_output): 'waitchannels' was unset 2012-07-09 14:12:08 -07:00
process.h Support higher-resolution time stamps. 2012-06-22 14:17:42 -07:00
puresize.h Get rid of all the manual purecopy calls in menu-bar definitions. 2012-06-27 17:15:13 -04:00
ralloc.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
README Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
regex.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
regex.h Assume C89 or later. 2012-05-21 08:36:54 -07:00
region-cache.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
region-cache.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
scroll.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
search.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
sheap.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
sound.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
stamp-h.in
syntax.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
syntax.h * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Use PTRDIFF_MAX, not MOST_POSITIVE_FIXNUM. 2012-04-09 16:21:20 -07:00
sysdep.c * configure.in (BROKEN_SA_RESTART): Doc fix. 2012-07-07 11:16:15 -07:00
sysselect.h Adapt the MS-DOS build to the latest changes. 2012-06-30 18:55:27 +03:00
syssignal.h Switch from NO_RETURN to C11's _Noreturn. 2012-06-24 10:39:14 -07:00
systime.h * systime.h (EMACS_SUB_TIME): Clarify behavior with unsigned time_t. 2012-07-08 16:00:38 -07:00
systty.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
syswait.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
term.c Cleanup changes following fix for bug #11832. 2012-07-08 19:38:43 +03:00
termcap.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
termchar.h Add support for italic text on ttys. 2012-06-10 00:44:44 +08:00
termhooks.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
terminal.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
terminfo.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
termopts.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
textprop.c Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
tparam.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
tparam.h Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
undo.c Do not require float-time's arg to fit in time_t (Bug#11825). 2012-07-06 18:57:42 -07:00
unexaix.c * unexaix.c: Port to more-recent AIX compilers. 2012-05-14 08:11:10 -07:00
unexcoff.c Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
unexcw.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
unexec.h * unexec.h: New file. 2011-03-16 17:03:31 -07:00
unexelf.c Assume C89 or later. 2012-05-21 08:36:54 -07:00
unexhp9k800.c Protoize 2011-07-10 10:20:10 +02:00
unexmacosx.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
unexsol.c * buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline. 2012-06-16 14:24:15 +02:00
unexw32.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
vm-limit.c Assume C89 or later. 2012-05-21 08:36:54 -07:00
w16select.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
w32.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
w32.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
w32console.c Generalize run-time debugging checks. 2012-06-28 11:50:27 +04:00
w32fns.c * xfns.c (Fx_change_window_property): Doc fix. 2012-07-06 22:00:42 +02:00
w32font.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
w32font.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
w32gui.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
w32heap.c Use a simple struct to implement compile time checks for the Lisp_Object type 2012-06-13 15:40:48 +02:00
w32heap.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
w32inevt.c Support help-echo and tooltip messages on w32 text-mode terminals. 2012-05-26 14:58:19 +03:00
w32inevt.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
w32menu.c * buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline. 2012-06-16 14:24:15 +02:00
w32proc.c Adapt the MS-DOS build to the latest changes. 2012-06-30 18:55:27 +03:00
w32reg.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
w32select.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
w32term.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
w32term.h Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
w32uniscribe.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
w32xfns.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
widget.c Cleanup xmalloc. 2012-07-05 10:32:41 +04:00
widget.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
widgetprv.h Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
window.c Introduce fast path for the widely used marker operation. 2012-07-06 09:07:44 +04:00
window.h Revert hscroll and min_hscroll to ptrdiff_t. 2012-07-05 18:20:12 +03:00
xdisp.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
xfaces.c Improve static checking when configured --with-ns. 2012-07-07 12:23:41 -07:00
xfns.c * xfns.c (Fx_change_window_property): Doc fix. 2012-07-06 22:00:42 +02:00
xfont.c * xfont.c (compare_font_names): Redo to omit the need for casts. 2012-07-06 13:49:23 -07:00
xftfont.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
xgselect.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
xgselect.h Support higher-resolution time stamps. 2012-06-22 14:17:42 -07:00
xmenu.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
xml.c * buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline. 2012-06-16 14:24:15 +02:00
xrdb.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
xselect.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
xsettings.c Use make_formatted_string to avoid double length calculation. 2012-07-09 16:02:27 +04:00
xsettings.h Auto-generate EXFUN using make-docfile 2012-07-03 12:24:42 -06:00
xsmfns.c Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
xterm.c More xmalloc and related cleanup. 2012-07-05 11:35:48 -07:00
xterm.h Improve static checking when configured --with-ns. 2012-07-07 12:23:41 -07:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2012  Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs (on Unix systems) is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

Under GNU and Unix systems, the file `Makefile.in' is used as a
template by the script `../configure' to produce `Makefile'.  This
is the file which actually controls the compilation of Emacs.
All of this should work transparently to the user; you should only
need to run `../configure', and then type `make'.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.