summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change bitmaps back to X11-compatible types.Paul Eggert2011-04-1614-43/+48
|
* Modernize to C89, for better static checking.Paul Eggert2011-04-1622-217/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Activate.c (XMenuActivate): Callback's first arg is readonly. * AddPane.c (XMenuAddPane): Label is readonly. Rename local to avoid shadowing. * AddSel.c (XMenuAddSelection): Help arg is readonly. Rename local. * Create.c (atoi, atof): Remove decls; include <stdlib.h>. (MAX_INACT_PNUM, TILE_BUF_SIZE): Remove; unused. (x_get_resource_string): Args are readonly. (XAllocDisplayColor): colorName is readonly. (XMenuCreate): def_env is readonly. Remove unused locals. Avoid "else;". * Destroy.c (XMenuDestroy): Return void. * Error.c (XMenuError): Remove const pointer. * EvHand.c (XMenuEventHandler): Return void. * FindPane.c, FindSel.c: Include <string.h>. * InsPane.c (XMenuInsertPane): Rename local to avoid shadowing. * InsSel.c (XMenuInsertSelection): Likewise. * Internal.c (toggle_color, BUFFER_SIZE): Remove; unused. (_XMErrorList): Now const. (_XMWinQueInit, _XMRecomputeGlobals, _XMTransToOrigin, _XMRefreshPane): (_XMRefreshSelection): Return void. (_XMWinQueFlush, _XMRefreshSelection): Rename locals to avoid shadowing. (_XMWinQueFlush): Use stack, not heap. Don't use uninitialized var. * SetAEQ.c (XMenuSetAEQ): Now returns void. * SetFrz.c (XMenuSetFreeze): Likewise. * X10.h (XAssoc): Use void * for generic pointer. * XDelAssoc.c: Include XMenuInt.h rather than duplicating part of it. * XDestAssoc.c, XMakeAssoc.c: Likewise. * XDestAssoc.c (XDestroyAssocTable): Return void. * XMakeAssoc.c (XMakeAssoc): Use void * for generic pointer. * XMenu.h, XMenuInt.h: Adjust to signature changes. Use const for pointers to readonly storage. * insque.c: Include XMenuInt.h, to check our own signature. (emacs_insque, emacs_remque): Use void * for generic pointers.
* * xgselect.c (xgselect_initialize): Check vs interfacePaul Eggert2011-04-162-1/+7
| | | | even if ! (defined (USE_GTK) || defined (HAVE_GCONF)).
* * xmenu.c (xmenu_show): Rename parm to avoid shadowing.Paul Eggert2011-04-152-7/+9
|
* * xrdb.c (x_load_resources): Omit unused local.Paul Eggert2011-04-152-2/+5
|
* * xterm.c (x_create_toolkit_scroll_bar): Use const * for pointersPaul Eggert2011-04-152-3/+6
| | | | to read-only memory.
* * fns.c (vector): Remove; this old hack is no longer needed.Paul Eggert2011-04-152-5/+2
|
* * xsmfns.c (gdk_x11_set_sm_client_id) [!USE_GTK]: Don't define.Paul Eggert2011-04-152-1/+2
|
* * xsmfns.c: Remove unused var.Paul Eggert2011-04-152-1/+1
|
* * xsmfns.c (create_client_leader_window): Rename shadowing arg.Paul Eggert2011-04-152-4/+6
|
* * xrdb.c (x_load_resources) [!USE_MOTIF]: Omit unused local.Paul Eggert2011-04-152-2/+3
|
* * xfns.c (USG): Use the kludged USG macro, to pacify gcc.Paul Eggert2011-04-152-0/+3
|
* * xfns.c (x_window): Rename locals to avoid shadowing.Paul Eggert2011-04-152-6/+7
|
* * xfns.c (free_frame_menubar, atof): Remove duplicate decls.Paul Eggert2011-04-152-3/+2
|
* * xterm.c (x_term_init): Remove local to avoid shadowing.Paul Eggert2011-04-152-1/+2
|
* * xterm.c (x_alloc_nearest_color_for_widget): Remove; unused.Paul Eggert2011-04-152-13/+2
|
* * xfns.c, xterm.c (_XEditResCheckMessages): Protoize decl.Paul Eggert2011-04-153-2/+4
|
* * xdisp.c, dispextern.h (set_vertical_scroll_bar): Now extern ifPaul Eggert2011-04-153-1/+12
| | | | USE_TOOLKIT_SCROLL_BARS && !USE_GTK, as xterm.c needs it then.
* * lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;".Paul Eggert2011-04-152-3/+6
|
* * lwlib-utils.h, lwlib-utils.c (XtSafelyDestroyWidget): Remove; unused.Paul Eggert2011-04-153-29/+2
|
* * xlwmenu.c (MINL): Define only if not emacs.Paul Eggert2011-04-152-0/+3
|
* * xlwmenu.c (XlwMenuSetValues): Rename/ move locals to avoid shadowing.Paul Eggert2011-04-152-18/+22
|
* Modified the code that parses the --cflags and --ldflags options to support ↵Ben Key2011-04-153-7/+80
| | | | parameters that include the = character as long as they are enclosed in quotes.
* nus-registry.el (gnus-registry--split-fancy-with-parent-internal): Track by ↵Teodor Zlatanov2011-04-152-25/+32
| | | | subject first, then sender.
* Use completion-at-point for mailalias.elStefan Monnier2011-04-153-79/+111
| | | | | | | | | | | | | * lisp/mail/mailalias.el: Use lexical-binding. (pattern, mailalias-done): Declare dynamic. (mail-completion-at-point-function): New function, from mail-complete. (mail-complete): Use it. (mail-completion-expand): New function. (mail-get-names): Use it. (mail-directory, mail-directory-process, mail-directory-stream): Don't use `pattern' for lexically bound arg. * lisp/mail/sendmail.el (mail-mode-map): Use completion-at-point. (mail-mode): Setup mailalias completion here instead.
* * lisp/emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.Stefan Monnier2011-04-152-1/+3
|
* * lisp/gnus/gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.Stefan Monnier2011-04-154-7/+23
| | | | | | | | (gnus-draft-send): Use it to avoid popping up frames from gnus-group-send-queue. * lisp/gnus/gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from Lisp. * lisp/gnus/message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
* * lisp/htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.Stefan Monnier2011-04-152-17/+25
| | | | | (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default) (hfy-etags-cmd-alist): Don't eval-and-compile any more.
* * lisp/emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)Stefan Monnier2011-04-152-6/+12
| | | | | (byte-save-window-excursion, byte-temp-output-buffer-setup) (byte-interactive-p): Define them again, for use when inlining old code.
* * sysdep.c (emacs_read): Remove unnecessary check vs MAX_RW_COUNT.Paul Eggert2011-04-152-1/+6
|
* emacs_write: Accept and return EMACS_INT for sizes.Paul Eggert2011-04-157-60/+95
|\
| * * sound.c: Use EMACS_INT rather than size_t.Paul Eggert2011-04-151-12/+12
| |
| * * process.c (send_process): Change a size_t to EMACS_INT.Paul Eggert2011-04-151-1/+1
| |
| * * process.c (send_process): Change another size_t to EMACS_INT.Paul Eggert2011-04-151-1/+1
| |
| * emacs_write: Accept and return EMACS_INT for sizes.Paul Eggert2011-04-155-30/+27
| |
| * Merge from mainline.Paul Eggert2011-04-15106-1539/+1695
| |\ | |/ |/|
* | lisp/loadup.el: Use `string-to-number', not `string-to-int'.Juanma Barranquero2011-04-152-6/+9
| |
* | Fix link errors in the Mac OS build that were caused by variables being ↵Ben Key2011-04-143-5/+16
| | | | | | | | marked as static that should not have been.
* | * lisp/progmodes/gud.el (gud-gdb): Use completion-at-point instead ofStefan Monnier2011-04-142-29/+61
| | | | | | | | | | | | | | gud-gdb-complete-command. (gud-gdb-completions): New function, from gud-gdb-complete-command. (gud-gdb-completion-at-point): New function. (gud-gdb-completions): Remove.
* | src/font.c (Qopentype): Don't make static (used from w32uniscribe.c).Juanma Barranquero2011-04-152-1/+5
| |
* | * src/process.c (Qprocessp): Don't declare static.Stefan Monnier2011-04-143-3/+9
| | | | | | | | * src/lisp.h (Qprocessp): Declare again.
* | Fix merge typo.Paul Eggert2011-04-141-1/+0
| |
* | Merge from mainline.Paul Eggert2011-04-1443-445/+642
|\ \
| * | * tramp.texi (Frequently Asked Questions): New item for disablingMichael Albinus2011-04-142-4/+36
| | | | | | | | | | | | Tramp in other packages.
| * | * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle theMichael Albinus2011-04-143-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | case when the scripts fail. Use `tramp-do-file-attributes-with-ls' then. (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer, whether`executable-find' is bound. * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
| * | Fix typos in the last change in gnus-registry docs.Katsumi Yamaoka2011-04-141-2/+2
| | |
| * | gnus.texi (nnmairix caveats, Setup, Registry Article Refer Method)Teodor Zlatanov2011-04-144-44/+46
| | | | | | | | | | | | | | | (Fancy splitting to parent, Store arbitrary data): Updated gnus-registry docs. gnus-registry.el: Updated gnus-registry docs.
| * | * fileio.c (Finsert_file_contents): Fix typo in 2005-05-13 change. (Bug#8496)Andreas Schwab2011-04-142-1/+6
| | |
| * | * lisp/minibuffer.el (completion-in-region-mode-predicate)Stefan Monnier2011-04-132-33/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | (completion-in-region-mode--predicate): New vars. (completion-in-region, completion-in-region--postch) (completion-in-region-mode): Use them. (completion--capf-wrapper): Also return the hook function. (completion-at-point, completion-help-at-point): Adjust and provide a predicate.
| * | Preserve arg names for advice of subr and lexical functions.Stefan Monnier2011-04-133-159/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (help-function-arglist): Consolidate the subr and new-byte-code cases. Add argument `preserve-names' to extract names from the docstring when needed. * lisp/emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args) (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove. (ad-arglist): Use help-function-arglist's new arg. (ad-definition-type): Use cond. Fixes: debbugs:8457