1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00
emacs/src
Philipp Stephani 9a86966edb Allow non-local exits in module initializers
Previously signals, throws, and quits from module initialization
functions were ignored.  These function aren't special, and better
errors can be reported using signals than with the initialization
return code, so allow non-local exits.

* src/emacs-module.c (module_signal_or_throw): New helper function.
(Fmodule_load, funcall_module): Use it.
(Fmodule_load): Also allow quitting.
2017-06-11 14:54:05 +02:00
..
bitmaps
.dbxinit
.gdbinit Improve .gdbinit Lisp value pretty-printing 2017-05-29 17:15:38 -07:00
alloc.c Add garbage collection support for module environments 2017-06-09 01:25:47 +02:00
atimer.c A quicker check for quit 2017-01-25 21:25:37 -08:00
atimer.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
bidi.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
blockinput.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
buffer.c Implement 1-based column numbering in mode line 2017-05-10 20:57:21 +03:00
buffer.h * src/buffer.h: Fix indenting. 2017-02-16 07:55:41 -08:00
bytecode.c Fix rounding errors in <, =, etc. 2017-03-02 09:12:49 -08:00
callint.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
callproc.c Work around macOS bug with vforked child 2017-05-21 01:47:31 -07:00
casefiddle.c More casefiddle minor fixes 2017-04-06 20:03:21 -07:00
casetab.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
category.c Use float instead of Lisp_Object for rehash_size 2017-02-21 15:39:17 -08:00
category.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ccl.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
ccl.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ChangeLog.1 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.2 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.3 Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
ChangeLog.4 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.5 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.6 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.7 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.8 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.9 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.10 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.11 ; Spelling, punctuation and minor wording fixes 2017-02-16 09:18:21 -08:00
ChangeLog.12 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChangeLog.13 ; ChangeLog fixes 2017-06-05 20:33:55 -04:00
character.c Remove unnecessary blankp code 2017-01-08 10:07:00 -08:00
character.h Add support for Unicode whitespace in [:blank:] 2017-01-06 20:12:48 +01:00
charset.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
charset.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
chartab.c Add PVSIZE function to return the size of a pseudovector. 2017-04-10 20:35:13 +02:00
cm.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
cm.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cmds.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
coding.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
coding.h Tighten recently-added UTF-8 check 2017-04-17 10:20:39 -07:00
commands.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
composite.c Pacify --enable-gcc-warnings --with-x-toolkit=no 2017-05-17 10:59:02 -07:00
composite.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
conf_post.h Port ATTRIBUTE_MAY_ALIAS to recent icc 2017-05-25 00:25:09 -07:00
COPYING
cygw32.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
cygw32.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
data.c Remove two FIXMEs that can't be fixed 2017-06-04 19:50:49 +02:00
dbusbind.c Compare and round more carefully 2017-03-04 23:18:39 -08:00
decompress.c Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
deps.mk Update copyright year to 2017 2016-12-31 19:42:26 -08:00
dired.c Remove immediate_quit. 2017-02-01 15:23:19 -08:00
dispextern.h New internal-border face and args for select-window and x-focus-frame 2017-04-12 18:22:44 +02:00
dispnew.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
disptab.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
doc.c Reimplement module functions 2017-05-20 15:32:52 +02:00
doprnt.c Fix bug with "%%" in error format 2017-05-31 16:50:24 -07:00
dosfns.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
dosfns.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
dynlib.c Fix emacs-module-tests on MS-Windows 2017-06-05 19:16:04 +03:00
dynlib.h Use ATTRIBUTE_MAY_ALIAS where alias violations are likely 2017-06-04 19:50:50 +02:00
editfns.c Tune ‘format’ after recent fix 2017-06-04 08:42:53 -07:00
emacs-icon.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
emacs-module.c Allow non-local exits in module initializers 2017-06-11 14:54:05 +02:00
emacs-module.h Support quitting in modules 2017-06-04 19:50:52 +02:00
emacs.c Use true names for invocation- and source-directory 2017-05-31 21:13:40 -04:00
emacsgtkfixed.c Use 'char *FOO' instead of 'char* FOO' 2017-02-18 18:17:03 -08:00
emacsgtkfixed.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
epaths.in Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eval.c Fix undefined behavior in mapbacktrace 2017-06-05 22:09:22 +02:00
fileio.c Remove DARWIN_OS_CASE_SENSITIVE_FIXME code 2017-05-20 22:56:36 -07:00
filelock.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
firstfile.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
floatfns.c Remove isnan hack for Solaris 10 gcc 3.4.3 2017-03-07 09:51:16 -08:00
fns.c * src/fns.c (sxhash): Fix records hashing (bug#27057, bug#26639) 2017-05-24 11:55:13 -04:00
font.c Avoid segfaults when 'find-font' is invoked for a TTY frame 2017-04-26 15:09:12 +03:00
font.h Add PVSIZE function to return the size of a pseudovector. 2017-04-10 20:35:13 +02:00
fontset.c Improve uses of CHECK_LIST etc. 2017-01-22 00:25:35 -08:00
fontset.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
frame.c Fix `delete-frame' behavior including Bug#26682 2017-04-30 10:02:53 +02:00
frame.h Add new frame functionality to NS port 2017-04-19 17:17:35 +01:00
fringe.c ; Minor fix of recent change in fringe.c 2017-02-19 18:40:52 +02:00
ftcrfont.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
ftfont.c Avoid abort in ftfont.c due to faulty fonts 2017-04-11 13:06:30 +03:00
ftfont.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ftxfont.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
getpagesize.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
gfilenotify.c Improve uses of CHECK_LIST etc. 2017-01-22 00:25:35 -08:00
gmalloc.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
gnutls.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
gnutls.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
gtkutil.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
gtkutil.h New internal-border face and args for select-window and x-focus-frame 2017-04-12 18:22:44 +02:00
image.c Fix another compiler warning on macOS 2017-06-09 01:27:39 +02:00
indent.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
indent.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
inotify.c Depromiscuify inotify with IN_MASK_ADD 2017-05-27 11:14:30 -07:00
insdel.c Fix bidi paragraph direction when inserting text at newline 2017-03-13 18:15:09 +02:00
intervals.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
intervals.h Use 'char *FOO' instead of 'char* FOO' 2017-02-18 18:17:03 -08:00
keyboard.c Avoid args-out-of-range errors on fringe clicks after "C-h k" 2017-05-27 15:57:38 +03:00
keyboard.h A quicker check for quit 2017-01-25 21:25:37 -08:00
keymap.c Use 'char *FOO' instead of 'char* FOO' 2017-02-18 18:17:03 -08:00
keymap.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
kqueue.c Make a function static that isn't used outside this file 2017-05-21 21:49:44 +02:00
lastfile.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
lisp.h Add garbage collection support for module environments 2017-06-09 01:25:47 +02:00
lread.c Improve performance by avoiding strtoumax 2017-06-01 16:06:38 -07:00
macfont.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
macfont.m Remove unused automatic variables 2017-05-21 21:50:18 +02:00
macros.c Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
macros.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
macuvs.h
Makefile.in * src/Makefile.in (leimdir): Remove variable, no longer used. 2017-04-25 20:43:05 -04:00
marker.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
menu.c Use 'char *FOO' instead of 'char* FOO' 2017-02-18 18:17:03 -08:00
menu.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
minibuf.c Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
msdos.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
msdos.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
nsfns.m Fix build errors on macOS 10.6 (bug#27059) 2017-06-01 20:50:44 +01:00
nsfont.m Use 'char *FOO' instead of 'char* FOO' 2017-02-18 18:17:03 -08:00
nsgui.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
nsimage.m Remove trailing semicolons in method definitions 2017-05-21 21:49:58 +02:00
nsmenu.m Nextstep: Replace deprecated enumerators 2017-05-21 21:50:10 +02:00
nsselect.m Update copyright year to 2017 2016-12-31 19:42:26 -08:00
nsterm.h Check if instancetype supported in ObjC 2017-05-27 00:46:23 +01:00
nsterm.m Don't wait for toolbar in NS native fullscreen 2017-06-10 22:49:45 +01:00
print.c Fix emacs-module-tests on MS-Windows 2017-06-05 19:16:04 +03:00
process.c Work around macOS bug in create_process, too 2017-05-21 02:00:29 -07:00
process.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
profiler.c Use float instead of Lisp_Object for rehash_size 2017-02-21 15:39:17 -08:00
puresize.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
ralloc.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
README Update copyright year to 2017 2016-12-31 19:42:26 -08:00
regex.c Pacify GCC 7 with --enable-gcc-warnings 2017-05-16 13:24:52 -07:00
regex.h Use expanded stack during regex matches 2017-01-08 18:45:52 -05:00
region-cache.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
region-cache.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
scroll.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
search.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
sheap.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sheap.h Update copyright year to 2017 in master 2017-01-01 01:48:59 -08:00
sound.c Compare and round more carefully 2017-03-04 23:18:39 -08:00
syntax.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
syntax.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sysdep.c Attempt to work around macOS vfork bug 2017-05-19 00:13:27 -07:00
sysselect.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
syssignal.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sysstdio.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
systhread.c Remove a few unused C functions 2017-02-26 09:58:25 -08:00
systhread.h Remove a few unused C functions 2017-02-26 09:58:25 -08:00
systime.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
systty.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
syswait.h Attempt to work around macOS vfork bug 2017-05-19 00:13:27 -07:00
term.c Use 'char *FOO' instead of 'char* FOO' 2017-02-18 18:17:03 -08:00
termcap.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
termchar.h Remove unused TN_max_pairs field 2017-02-18 12:56:12 +02:00
termhooks.h Frame movement, focus and hook related changes 2017-04-11 12:37:26 +02:00
terminal.c Tighten recently-added UTF-8 check 2017-04-17 10:20:39 -07:00
terminfo.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
termopts.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
textprop.c Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
thread.c Use ptrdiff_t, not int, for stack sizes 2017-05-02 15:05:08 -07:00
thread.h Update copyright year to 2017 in master 2017-01-01 01:48:59 -08:00
tparam.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
tparam.h Support 24-bit direct colors on text terminals 2017-02-18 13:04:55 +02:00
undo.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
unexaix.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
unexcoff.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
unexcw.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
unexec.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
unexelf.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
unexhp9k800.c
unexmacosx.c Remove unused function print_regions 2017-05-21 21:49:25 +02:00
unexsol.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
unexw32.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
vm-limit.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w16select.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
w32.c Remove gettimeofday from w32 sources 2017-05-14 19:02:50 +03:00
w32.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w32common.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
w32console.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w32fns.c Avoid compilation warnings 2017-05-02 11:04:33 +03:00
w32font.c Avoid compilation warnings 2017-05-02 11:04:33 +03:00
w32font.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w32gui.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
w32heap.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w32heap.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w32inevt.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w32inevt.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
w32menu.c Avoid compilation warnings 2017-05-02 11:04:33 +03:00
w32notify.c Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
w32proc.c Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
w32reg.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w32select.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
w32select.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
w32term.c Ensure cursor's foreground color is in sync with 'default' face 2017-05-10 20:06:15 +03:00
w32term.h New internal-border face and args for select-window and x-focus-frame 2017-04-12 18:22:44 +02:00
w32uniscribe.c Avoid quitting inside a critical section on MS-Windows 2017-02-23 18:15:05 +02:00
w32xfns.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
widget.c Tweak X toolkit code to pacify modern GCC 2017-03-10 09:31:59 -08:00
widget.h Use 'char *FOO' instead of 'char* FOO' 2017-02-18 18:17:03 -08:00
widgetprv.h Use 'char *FOO' instead of 'char* FOO' 2017-02-18 18:17:03 -08:00
window.c Minor doc and doc-string fixes (Bug#27091) 2017-05-27 15:14:52 +02:00
window.h Refactor uses of scroll_margin to a function 2017-02-02 21:19:52 -05:00
xdisp.c ; Spelling fixes 2017-06-10 11:44:49 -07:00
xfaces.c New internal-border face and args for select-window and x-focus-frame 2017-04-12 18:22:44 +02:00
xfns.c ; Spelling and minor wording fixes 2017-04-14 12:42:31 -07:00
xfont.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
xftfont.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
xgselect.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
xgselect.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
xmenu.c Fix the placement of GTK menus on multi-monitor systems 2017-06-10 12:28:03 +03:00
xml.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
xrdb.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
xselect.c Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
xsettings.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
xsettings.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
xsmfns.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
xterm.c Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00
xterm.h * src/xterm.c (x_fill_rectangle): Now static. 2017-04-17 11:14:40 -07:00
xwidget.c Verify xwidget USE_LSB_TAG assumption 2017-02-20 13:04:09 -08:00
xwidget.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08: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-2017 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 is copied elsewhere.

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

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 C source files.  All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run '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/>.