Stefan Monnier
bfab7d852d
* Makefile.in (config.status): Don't erase in case of error.
...
In case it disappeared, rebuild it with `configure'.
2011-04-20 14:23:30 -03:00
Stefan Monnier
bed7f14004
* lisp/obsolete/erc-hecomplete.el: Make obsolete.
...
* obsolete/: Standardize obsolescence info in the header.
2011-04-20 14:18:34 -03:00
Glenn Morris
b2e59ad27f
Auto-commit of loaddefs files.
2011-04-20 06:23:12 -04:00
Glenn Morris
e7dcef2a66
Auto-commit of generated files.
2011-04-20 06:18:10 -04:00
Ken Brown
fe0e7ad718
* configure.in (use_mmap_for_buffers): Set to yes on Cygwin.
2011-04-19 22:18:13 -04:00
Glenn Morris
f195c582d8
solar.el fixes.
...
* lisp/calendar/solar.el (solar-horizontal-coordinates):
Use the longitude argument rather than `calendar-longitude' (15yr old bug).
(solar-date-next-longitude): Remove unused locals.
2011-04-19 19:09:06 -07:00
Katsumi Yamaoka
6b1f6ce90e
gnus-registry.el (gnus-registry-action, gnus-registry-fetch-header-fast):
...
Don't use mail-header that looks an internal function of mailheader.el.
2011-04-20 00:43:48 +00:00
Stefan Monnier
602ea69dc7
* lisp/progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
...
(octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
multi-line comments as well.
2011-04-19 12:33:34 -03:00
Juanma Barranquero
06b605171f
lisp/*.el: Lexical-binding cleanup.
2011-04-19 15:44:55 +02:00
Eli Zaretskii
04c569546a
Support buffers > 2GB on 64-bit hosts.
...
src/insdel.c (make_gap_larger): Remove limitation of buffer size
to <= INT_MAX.
src/syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix setting of
gl_state.e_property when gl_state.object is Qt.
2011-04-19 13:48:30 +03:00
Glenn Morris
bc4f7f3d58
calendar housekeeping prompted by lexical-binding.
...
* lisp/calendar/appt.el (appt-make-list):
* lisp/calendar/cal-china.el (calendar-chinese-date-string):
* lisp/calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
(diary-hebrew-yahrzeit):
* lisp/calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
* lisp/calendar/calendar.el (calendar-generate-window):
* lisp/calendar/time-date.el (time-to-days):
Remove unused local variables.
* lisp/calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
optional argument `style'.
* lisp/calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
(cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
(cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
(cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
* lisp/calendar/cal-html.el (cal-html-insert-minical):
* lisp/calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
(calendar-mark-date-pattern):
Prefix "unused" locals.
2011-04-18 21:11:01 -07:00
Chong Yidong
16a43933e8
Allow glyphless-char-display to distinguish between X and text terminals.
...
Use this for Tabulated List mode.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
glyphless-char-display table.
(tabulated-list-glyphless-char-display): New var.
* src/term.c (produce_glyphless_glyph): Handle cons cell entry in
glyphless-char-display.
* src/xdisp.c (lookup_glyphless_char_display)
(produce_glyphless_glyph): Handle cons cell entry in
glyphless-char-display.
(Vglyphless_char_display): Document it.
2011-04-18 19:21:31 -04:00
Katsumi Yamaoka
8d6d9c8f8d
gnus-registry.el, registry.el: Silence the byte compiler.
...
gnus-registry.el: Eliminate cl functions.
(gnus-registry-sort-addresses): New function that replaces mapcan.
(gnus-registry-action, gnus-registry-spool-action)
(gnus-registry-split-fancy-with-parent)
(gnus-registry-fetch-recipients-fast): Use it.
(gnus-registry-import-eld): Replace delete* with dolist + delq.
registry.el (initialize-instance, registry-lookup)
(registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
(registry-lookup-secondary-value, registry-search, registry-delete)
(registry-insert, registry-reindex, registry-size, registry-prune):
Use eval-and-compile.
2011-04-18 22:59:02 +00:00
Sam Steingold
7eed1860d8
* lisp/vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to" to acknowledgments.
2011-04-18 16:35:18 -04:00
Glenn Morris
ca36e0ff83
Auto-commit of generated files.
2011-04-18 06:17:49 -04:00
Paul Eggert
cc2e7b46b8
Merge from gnulib.
2011-04-17 21:03:18 -07:00
Chong Yidong
4581706e27
Minor redisplay cleanups.
...
* src/dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P): Add missing
definition for no-X builds.
* src/termhooks.h (FRAME_WINDOW_P): Remove duplicated definitions.
* src/xdisp.c (get_next_display_element): Remove unnecessary ifdefs.
2011-04-17 14:40:55 -04:00
Glenn Morris
14964899b3
* etc/CONTRIBUTE: Recommend bug-gnu-emacs for patches.
2011-04-16 19:30:56 -07:00
Glenn Morris
4d2d1ccdbb
Replace stack-trace-on-error usage in calendar.
...
* lisp/calendar/diary-lib.el (diary-sexp-entry):
* lisp/calendar/holidays.el (holiday-sexp):
Set debug-on-error rather than the removed stack-trace-on-error.
2011-04-16 19:11:49 -07:00
Glenn Morris
61c2b50edd
ChangeLog fix.
2011-04-16 16:31:57 -07:00
Glenn Morris
239da61d98
Use lexcical-binding in f90.el.
...
* lisp/progmodes/f90.el: Use lexical-binding. Use utf-8 coding.
(f90-get-correct-indent): Remove unnecessary local variable `cont'.
2011-04-16 16:30:15 -07:00
Paul Eggert
fd35b6f967
Static checks with GCC 4.6.0 and non-default toolkits.
2011-04-16 16:11:35 -07:00
Paul Eggert
399c71d323
* xdisp.c (x_produce_glyphs): Mark var as initialized (Bug#8512).
2011-04-16 15:48:31 -07:00
Paul Eggert
68afa9ca47
* pop.c: Undo previous change.
2011-04-16 15:32:35 -07:00
Paul Eggert
c7b7425e22
Merge from mainline.
2011-04-16 15:30:01 -07:00
Paul Eggert
5c1ccb0154
* s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF): Protoize decl.
2011-04-16 15:06:00 -07:00
Paul Eggert
006c5daa68
* process.c (keyboard_bit_set): Define only if SIGIO.
...
(send_process_trap): Mark it with NO_RETURN if it doesn't return.
(send_process): Repair possible setjmp clobbering.
2011-04-16 15:04:41 -07:00
Paul Eggert
efc736d319
* s/usg5-4-common.h (SETUP_SLAVE_PTY): Don't pass extra arg to 'fatal'.
2011-04-16 14:57:28 -07:00
Paul Eggert
4e2fe2e61d
* eval.c: Include <stdio.h>, for vsnprintf on non-GNU/Linux hosts.
2011-04-16 14:50:01 -07:00
Paul Eggert
f97334a26e
* data.c (arith_error): Mark with NO_RETURN if it doesn't return.
2011-04-16 14:48:36 -07:00
Paul Eggert
4e75f29d3a
* alloc.c (bytes_used_when_full, SPARE_MEMORY, BYTES_USED):
...
Define only if needed.
2011-04-16 14:47:57 -07:00
Paul Eggert
761383f4ec
* xterm.c (xembed_send_message): Likewise.
2011-04-16 14:29:00 -07:00
Paul Eggert
875975e94d
* xfaces.c (USG, __TIMEVAL__): Likewise.
2011-04-16 14:28:14 -07:00
Paul Eggert
e264f2620b
* termhooks.h (struct terminal): Likewise.
2011-04-16 14:27:29 -07:00
Paul Eggert
90efadd1f6
* sysdep.c (_FILE_OFFSET_BITS): Make this hack even uglier
...
by pacifying GCC about it. Maybe it's time to retire it?
2011-04-16 14:26:33 -07:00
Paul Eggert
3c647824ce
* dispextern.h (struct redisplay_interface): Rename param
...
to avoid shadowing.
2011-04-16 14:24:54 -07:00
Paul Eggert
b165261a47
* lwlib-utils.c (XtCompositeChildren): Likewise.
2011-04-16 14:23:30 -07:00
Paul Eggert
5c5e6a401e
* lwlib-Xm.c (make_dialog): Rename local to avoid shadowing.
...
(make_menu_in_widget): Add cast to avoid warning.
2011-04-16 14:22:40 -07:00
Paul Eggert
fe3bfdde8d
* pop.c (socket_connection): Double-cast to avoid GCC warning
...
about alignment.
2011-04-16 14:21:24 -07:00
Paul Eggert
5a9c1e26a7
* movemail.c (mail_spool_name): Protoize.
...
(main): Remove unused var. Mark var as initialized.
Move locals to avoid shadowing, and use time_t for times.
2011-04-16 14:20:25 -07:00
Paul Eggert
cd52b2441e
* fakemail.c (xmalloc, xreallc): Use standard C prototypes
...
with void *. This avoids warnings about pointer casts.
2011-04-16 14:13:07 -07:00
Paul Eggert
c5443aa547
* emacsclient.c (main): Don't use uninitialized var.
...
(IS_ANY_SEP): Remove; unused.
(get_current_dir_name): Add an extern decl.
2011-04-16 14:11:28 -07:00
Paul Eggert
b58c5c4af7
* insdel.c (make_gap_smaller): Define only if
...
USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC.
2011-04-16 13:32:18 -07:00
Paul Eggert
cad5903248
* keyboard.c (read_char): Make a var volatile so longjmp won't clobber
...
it.
2011-04-16 13:27:04 -07:00
Paul Eggert
c339dc2e7e
* emacs.c (MAX_HEAP_BSS_DIFF, my_edata): Move to where they're used,
...
so that we aren't warned about unused symbols.
2011-04-16 13:21:26 -07:00
Paul Eggert
94578f9cc2
Add bug#.
2011-04-16 13:09:28 -07:00
Paul Eggert
91a3e27bb7
* xfns.c (Fx_file_dialog): Rename local to avoid shadowing.
2011-04-16 13:07:17 -07:00
Paul Eggert
7a3fb1252c
* xdisp.c (x_produce_glyphs): Avoid possibly-uninitialized var.
2011-04-16 12:42:09 -07:00
Eli Zaretskii
c4354cb4f4
Fix argument to error' in gnutls-boot'.
...
src/gnutls.c (Fgnutls_boot): Don't pass Lisp_Object to `error'.
2011-04-16 15:16:40 -04:00
Eli Zaretskii
d1dfb56cc8
Fix regex.c, syntax.c and friends for buffers > 2GB.
...
src/syntax.h (struct gl_state_s): Declare character position members
EMACS_INT.
src/syntax.c (update_syntax_table): Declare 2nd argument EMACS_INT.
src/textprop.c (verify_interval_modification, interval_of): Declare
arguments EMACS_INT.
src/intervals.c (adjust_intervals_for_insertion): Declare arguments
EMACS_INT.
src/intervals.h (CHECK_TOTAL_LENGTH): Cast to EMACS_INT, not `int'.
src/indent.c (Fvertical_motion): Local variable it_start is now
EMACS_INT.
src/regex.c (re_match, re_match_2, re_match_2_internal)
(bcmp_translate, regcomp, regexec, print_double_string)
(group_in_compile_stack, re_search, re_search_2, regex_compile)
(re_compile_pattern, re_exec): Declare arguments and local
variables `size_t' and `ssize_t' and return values `regoff_t', as
appropriate.
(POP_FAILURE_REG_OR_COUNT) <pfreg>: Declare `long'.
(CHECK_INFINITE_LOOP) <failure>: Declare `ssize_t'.
<compile_stack_type>: `size' and `avail' are now `size_t'.
src/regex.h <regoff_t>: Use ssize_t, not int.
(re_search, re_search_2, re_match, re_match_2): Arguments that
specify buffer/string position and length are now ssize_t and
size_t. Return type is regoff_t.
2011-04-16 21:26:30 +03:00