1. 04 Jul, 2010 14 commits
  2. 03 Jul, 2010 12 commits
    • Eli Zaretskii's avatar
      1c027a24
    • Eli Zaretskii's avatar
      Fix menu bar and colors on MS-DOS. · f4e8a59c
      Eli Zaretskii authored
       msdos.c (IT_set_frame_parameters): Set menu-bar-lines
       according to menu-bar-mode, if not set in the frame parameters
       or in default-frame-alist.  Fix setting of colors in frames
       other than the initial one.  Fix reversal of colors when
       `reverse' is specified in the frame parameters.  Call
       update_face_from_frame_parameter instead of
       internal-set-lisp-face-attribute.  Initialize screen colors
       from initial_screen_colors[] when f->default_face_done_p is
       zero, instead of depending on being called with
       default-frame-alist as the alist argument.
       xfaces.c (update_face_from_frame_parameter): Move out of
       HAVE_WINDOW_SYSTEM portion.  Condition window-system only parts
       with HAVE_WINDOW_SYSTEM.
      f4e8a59c
    • Eli Zaretskii's avatar
      Fix setting colors on MS-DOS frames. · 76ea4cc9
      Eli Zaretskii authored
       msdos.c (IT_set_frame_parameters): Fix setting of colors in
       frames other than the initial one.  Fix reversal of colors when
       `reverse' is specified in the frame parameters.  Call
       update_face_from_frame_parameter instead of
       internal-set-lisp-face-attribute.  Initialize screen colors from
       initial_screen_colors[] when f->default_face_done_p is zero,
       instead of depending on being called with default-frame-alist as
       the alist argument.
       xfaces.c (update_face_from_frame_parameter): Move out of
       HAVE_WINDOW_SYSTEM portion.  Condition window-system only parts
       with HAVE_WINDOW_SYSTEM.
      76ea4cc9
    • Andreas Schwab's avatar
      Fix invalid cast · a52a00a3
      Andreas Schwab authored
      * sorted-doc.c (cmpdoc): Fix signature.
      (qsort_compare): Delete.
      (main): Remove cast.
      a52a00a3
    • Eli Zaretskii's avatar
      Fix menu bar display on MS-DOS. · 1e6255ae
      Eli Zaretskii authored
       msdos.c (IT_set_frame_parameters): Set menu-bar-lines according
       to menu-bar-mode, if not set in the frame parameters or in
       default-frame-alist.
      1e6255ae
    • Juanma Barranquero's avatar
    • Eli Zaretskii's avatar
    • Juanma Barranquero's avatar
      Fix prototypes. · 3a35a84c
      Juanma Barranquero authored
      * src/cm.c (evalcost): Fix arg type.
      * src/cm.h (evalcost): Fix prototype.
      * src/lisp.h (memory_warnings): Fix prototype.
      
      * lib-src/ebrowse.c (match_qualified_namespace_alias):
        Pass sym* to find_namespace, not link*.
      * lib-src/emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
      * lib-src/sorted-doc.c (qsort_compare): New typedef.
        (main): Use it to cast cmpdoc.
      3a35a84c
    • Chong Yidong's avatar
      Fix typo in last change. · fe0aa820
      Chong Yidong authored
      fe0aa820
    • Chong Yidong's avatar
      d6d8ee7a
    • Chong Yidong's avatar
      Simplify mouse-dragging implementation. · 5592c08f
      Chong Yidong authored
      Now that DEL deletes active regions, we can handle it by using the
      ordinary region instead of a separate overlay.
      
      * mouse.el (mouse-drag-overlay): Variable deleted.
      (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
      (mouse--remap-link-click-p): New function.
      (mouse-drag-track): Handle dragging by using temporary Transient
      Mark mode, instead of a special overlay.
      (mouse-kill-ring-save, mouse-save-then-kill): Don't call
      mouse-show-mark.
      
      * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
      deleted.
      5592c08f
    • Dan Nicolaescu's avatar
      Convert function definitions to standard C. · 873fbd0b
      Dan Nicolaescu authored
      * lib-src/update-game-score.c: Convert function definitions to standard C.
      * lib-src/sorted-doc.c:
      * lib-src/profile.c:
      * lib-src/pop.c:
      * lib-src/movemail.c:
      * lib-src/make-docfile.c:
      * lib-src/hexl.c:
      * lib-src/fakemail.c:
      * lib-src/etags.c:
      * lib-src/ebrowse.c:
      * lib-src/digest-doc.c:
      * lib-src/b2m.c: Likewise.
      873fbd0b
  3. 02 Jul, 2010 13 commits
    • Juri Linkov's avatar
      * lisp/autoinsert.el (auto-insert-alist): Fix readability · a6ed0e28
      Juri Linkov authored
      by using dotted pair notation for lambda.
      a6ed0e28
    • Juri Linkov's avatar
      * lisp/faces.el (read-face-name): Rename arg `string-describing-default' · c91e692b
      Juri Linkov authored
      to `default'.  Doc fix.  Display the default value in quotes
      in the prompt.  With empty input, return the `default' arg,
      unless the default value is a string (in which case return nil).
      (describe-face): Replace the string `default' arg of `read-face-name'
      with the symbol `default'.
      http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg01109.html
      c91e692b
    • Dan Nicolaescu's avatar
      Convert some prototypes to standard C. · c532d349
      Dan Nicolaescu authored
      * lib-src/make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
      * lib-src/b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
      standard C prototypes.
      
      * src/term.c (term_clear_mouse_face, Fidentity):
      * src/syssignal.h (signal_handler_t):
      * src/lisp.h (memory_warnings):
      * src/coding.h (preferred_coding_system):
      * src/cm.h (evalcost):
      * src/blockinput.h (reinvoke_input_signal): Convert to standard C prototypes.
      c532d349
    • Juanma Barranquero's avatar
      * config.nt (__P): Remove. · b6fcccc3
      Juanma Barranquero authored
      b6fcccc3
    • Chong Yidong's avatar
      Replace delete-backward-char Lisp calls in Viper (Bug#6552). · 23640f8f
      Chong Yidong authored
      * emulation/viper-cmd.el (viper-delete-backward-char)
      (viper-del-backward-char-in-insert)
      (viper-del-backward-char-in-replace, viper-change)
      (viper-backward-indent): Replace delete-backward-char with
      delete-char (Bug#6552).
      23640f8f
    • Eli Zaretskii's avatar
      Fix MS-DOS build due to removal of P_. · 4f15a370
      Eli Zaretskii authored
       msdos.h (load_pixmap): Don't define away.
      4f15a370
    • Eli Zaretskii's avatar
      Fix the MS-DOS build due to removal of P_. · c0b36d46
      Eli Zaretskii authored
       dosfns.h (msdos_stdcolor_idx, msdos_stdcolor_name): Remove P_
       from prototypes.
       msdos.h (load_pixmap): Don't define away.
      c0b36d46
    • Jan D's avatar
      Remove __P. · 9e892c8d
      Jan D authored
      9e892c8d
    • Eli Zaretskii's avatar
      Fix MS-DOS configury. · baeb2564
      Eli Zaretskii authored
       sed1v2.inp (LIB_GCC): Edit to empty.
       Chdir back to ../src after compiling each .el file.
      baeb2564
    • Jan D's avatar
      Remove __P and P_ from .c and .m files and definition of P_ · f57e2426
      Jan D authored
      * lisp.h:
      * atimer.h: Remove define for P_.
      
      * alloc.c: Remove __P and P_ from .c and .m files.
      * atimer.c:
      * buffer.c:
      * callint.c:
      * category.c:
      * charset.c:
      * chartab.c:
      * cm.c:
      * coding.c:
      * composite.c:
      * data.c:
      * dired.c:
      * dispnew.c:
      * doc.c:
      * editfns.c:
      * emacs.c:
      * eval.c:
      * fileio.c:
      * filelock.c:
      * fns.c:
      * font.c:
      * fontset.c:
      * frame.c:
      * ftfont.c:
      * ftxfont.c:
      * gmalloc.c:
      * gtkutil.c:
      * image.c:
      * indent.c:
      * intervals.c:
      * keyboard.c:
      * keymap.c:
      * lread.c:
      * marker.c:
      * menu.c:
      * minibuf.c:
      * print.c:
      * process.c:
      * scroll.c:
      * search.c:
      * sound.c:
      * strftime.c:
      * syntax.c:
      * sysdep.c:
      * term.c:
      * terminal.c:
      * textprop.c:
      * unexalpha.c:
      * w32console.c:
      * w32fns.c:
      * w32font.c:
      * w32menu.c:
      * w32term.c:
      * w32uniscribe.c:
      * window.c:
      * xdisp.c:
      * xfaces.c:
      * xfns.c:
      * xfont.c:
      * xftfont.c:
      * xmenu.c:
      * xselect.c:
      * xterm.c: Likewise.
      
      * ebrowse.c: Remove P_ and __P.
      * etags.c:
      * movemail.c:
      * pop.c:
      * update-game-score.c: Likewise.
      f57e2426
    • Jan D's avatar
      Remove P_ and __P macros. · 383e0970
      Jan D authored
      * lwlib/lwlib-Xaw.h: Remove P_ and __P macros.
      * lwlib/lwlib-Xlw.h:
      * lwlib/lwlib-Xm.h:
      * lwlib/lwlib-int.h:
      * lwlib/lwlib-utils.h:
      * lwlib/lwlib.h: Likewise.
      
      * src/buffer.h: Remove P_ and __P macros.
      * src/category.h:
      * src/ccl.h:
      * src/character.h:
      * src/charset.h:
      * src/cm.h:
      * src/coding.h:
      * src/composite.h:
      * src/dispextern.h:
      * src/disptab.h:
      * src/font.h:
      * src/fontset.h:
      * src/frame.h:
      * src/gtkutil.h:
      * src/indent.h:
      * src/intervals.h:
      * src/keyboard.h:
      * src/keymap.h:
      * src/lisp.h:
      * src/macros.h:
      * src/md5.h:
      * src/menu.h:
      * src/msdos.h:
      * src/nsterm.h:
      * src/puresize.h:
      * src/region-cache.h:
      * src/syntax.h:
      * src/syssignal.h:
      * src/systime.h:
      * src/termhooks.h:
      * src/w32term.h:
      * src/widget.h:
      * src/window.h:
      * src/xgselect.h:
      * src/xsettings.h:
      * src/xterm.h: Likewise.
      383e0970
    • Dan Nicolaescu's avatar
      Define USE_LISP_UNION_TYPE using autoconf. · d9170db5
      Dan Nicolaescu authored
      * configure.in (--enable-use-lisp-union-type): New flag.
      * src/lisp.h: Document that USE_LISP_UNION_TYPE is now enabled using autoconf.
      d9170db5
    • Dan Nicolaescu's avatar
      Cleanup old code. · 98601119
      Dan Nicolaescu authored
      * src/dired.c (BSD4_3): Remove all uses, redundant with BSD4_2.
      * src/syssignal.h: Remove code for Lynx, not supported anymore.
      * src/vm-limit.c: Remove unused code the depends on emacs not being
      defined and NO_LIM_DATA being defined.
      * src/mem-limits.h: Remove dead code.
      98601119
  4. 01 Jul, 2010 1 commit