1. 07 Aug, 2010 6 commits
    • Chong Yidong's avatar
      Change `select-active-region' mechanics. · 9852377f
      Chong Yidong authored
      Save region text prior to buffer modification.
      Set window selection lazily, during `deactivate-mark' or after each
      command when the region is temporarily active.
      
      * lisp/cus-start.el: Add custom declaration for select-active-regions.
      
      * lisp/mouse.el (mouse-drag-track): Remove hacks to deal with old
      select-active-regions implementation.
      (mouse-yank-at-click): Doc fix.
      
      * lisp/simple.el (select-active-regions): Move to keyboard.c.
      (deactivate-mark): Used saved-region-selection.
      (select-active-region): Function removed.
      (activate-mark, set-mark, push-mark-command)
      (handle-shift-selection): Don't call it.
      (keyboard-quit): Avoid adding the region to the window selection.
      
      * src/insdel.c (prepare_to_modify_buffer): Save active region text to
      Vsaved_region_selection.
      
      * src/keyboard.c (Vselect_active_regions): Move from simple.el.
      (Vsaved_region_selection, Qx_set_selection, QPRIMARY, Qlazy): New
      vars.
      (command_loop_1): Set window selection prior to deactivating the
      mark.
      
      * src/xselect.c (QPRIMARY): Move to keyboard.c.
      9852377f
    • Eli Zaretskii's avatar
      d064e6a6
    • Eli Zaretskii's avatar
      simple.el (delete-forward-char): Doc fix. · 4c5130d6
      Eli Zaretskii authored
      4c5130d6
    • Eli Zaretskii's avatar
      Clean up TUTORIAL.he. · 309a663f
      Eli Zaretskii authored
       tutorials/TUTORIAL.he: Don't use acronyms.
      309a663f
    • Eli Zaretskii's avatar
      Evaluate file-local variables in tutorials. · 822775bf
      Eli Zaretskii authored
       tutorial.el (help-with-tutorial): Hack safe file-local variables
       after reading the tutorial.
      822775bf
    • Juanma Barranquero's avatar
      Remove duplicate declarations. · 0e9c8657
      Juanma Barranquero authored
      * lib-src/ebrowse.c (usage, version, mark_virtual)
      * src/alloc.c (lisp_malloc)
      * src/buffer.c (set_buffer_internal, set_buffer_internal_1)
      * src/charset.h (emacs_mule_charset)
      * src/dispextern.h (inhibit_free_realized_faces, redraw_frame)
        (redraw_garbaged_frames, scroll_cost, update_frame, scrolling)
        (bitch_at_user)
      * src/lisp.h (Fcheck_coding_system, Fget_text_property)
        (Qfunction, Qcompletion_ignore_case, QCwidth, QCsize)
      0e9c8657
  2. 06 Aug, 2010 27 commits
  3. 05 Aug, 2010 7 commits
    • Dan Nicolaescu's avatar
      Remove extern declarations in .c files, .h files have them. · 04bab72c
      Dan Nicolaescu authored
      * src/data.c:
      * src/dired.c:
      * src/editfns.c:
      * src/filelock.c:
      * src/fns.c:
      * src/font.c:
      * src/fontset.c:
      * src/frame.c:
      * src/fringe.c:
      * src/ftfont.c:
      * src/gtkutil.c:
      * src/indent.c:
      * src/keyboard.c:
      * src/keymap.c:
      * src/lread.c:
      * src/menu.c:
      * src/print.c:
      * src/search.c:
      * src/sound.c:
      * src/window.c:
      * src/xdisp.c:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xfont.c:
      * src/xftfont.c:
      * src/xmenu.c:
      * src/xterm.c: Remove declarations.
      04bab72c
    • Dan Nicolaescu's avatar
      Cleanup syssignal.h. · dff94ed5
      Dan Nicolaescu authored
      * src/syssignal.h (sighold, sigrelse, RETSIGTYPE): Remove, unused.
      (main_thread): Move down to remove #ifdef.
      (SIGMASKTYPE, SIGEMPTYMASK, SIGFULLMASK, sigmask, sigunblock):
      Remove conditional definition following unconditional ones.
      dff94ed5
    • Dan Nicolaescu's avatar
      Add declarations to header files. · 99f3388e
      Dan Nicolaescu authored
      * src/keyboard.h (xmalloc_widget_value, digest_single_submenu): Remove
      declarations, menu.h has them.
      (QCbutton, QCtoggle, QCradio, QClabel, extra_keyboard_modifiers)
      (Vinput_method_function, Qinput_method_function)
      (Qevent_symbol_element_mask, last_event_timestamp):
      * src/dispextern.h (Voverflow_newline_into_fringe):
      * src/font.h (QCantialias, Qp, syms_of_ftfont, syms_of_xfns)
      (syms_of_ftxfont, syms_of_xftfont, syms_of_bdffont)
      (syms_of_w32font, syms_of_nsfont):
      * src/fontset.h (find_font_encoding, Qlatin):
      * src/frame.h (Qtooltip, Qrun_hook_with_args, Vmenu_bar_mode)
      (Vtool_bar_mode, set_frame_menubar):
      * src/ftfont.h (ftfont_font_format, ftfont_get_fc_charset):
      * src/xterm.h (Qx_gtk_map_stock):
      * src/keymap.h (meta_prefix_char): Add declarations.
      
      * src/lisp.h: Remove HAVE_SHM code, unused.
      (QCmap, QCrehash_size, QCrehash_threshold, QCsize, QCtest)
      (QCweakness, Qabove_handle, Qbackquote, Qbar, Qbelow_handle)
      (Qborder, Qbottom, Qbox, Qcircular_list, Qcomma, Qcomma_at)
      (Qcomma_dot, Qcursor, Qdefault, Qdown, Qend_scroll, Qeq, Qeql)
      (Qequal, Qfile_exists_p, Qfont_param, Qfringe, Qfunction)
      (Qfunction_documentation, Qhandle, Qhbar, Qheader_line, Qhollow)
      (Qidentity, Qleft_margin, Qmenu, Qmenu_bar_update_hook)
      (Qmode_line_inactive, Qmouse, Qoverriding_local_map)
      (Qoverriding_terminal_local_map, Qratio, Qregion, Qright_margin)
      (Qscroll_bar, Qtool_bar, Qtop, Qup, Qvertical_border, Qwhen)
      (Qwindow_scroll_functions, Vafter_load_alist)
      (Vauto_save_list_file_name, Vface_alternative_font_family_alist)
      (Vface_alternative_font_registry_alist, Vface_font_rescale_alist)
      (Vface_ignored_fonts, Vinhibit_redisplay, Vminibuffer_list)
      (Vprint_length, Vprint_level, Vscalable_fonts_allowed)
      (Vshell_file_name, Vsystem_name, Vwindow_scroll_functions)
      (Vwindow_system_version, Vx_no_window_manager, initial_argc)
      (initial_argv, last_nonmenu_event, load_in_progress)
      (noninteractive_need_newline, scroll_margin): Add declarations.
      99f3388e
    • Dan Nicolaescu's avatar
      * src/term.c: Remove dead code. · 9f5dd6f2
      Dan Nicolaescu authored
      9f5dd6f2
    • Dan Nicolaescu's avatar
      Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux. · 6254cdda
      Dan Nicolaescu authored
      * src/term.c (dissociate_if_controlling_tty): Use USG5 instead of
      USG.  This is equivalent to defined (USG) && !defined (BSD_PGRPS),
      which is what was there before BSD_PGRPS was removed.
      6254cdda
    • Dan Nicolaescu's avatar
      Regenerate configure. · 52eeb591
      Dan Nicolaescu authored
      52eeb591
    • Eli Zaretskii's avatar
      REALLY rename src/unexec.c => src/unexcoff.c. · 2b2ecd42
      Eli Zaretskii authored
       admin/MAINTAINERS: Rename src/unexec.c => src/unexcoff.c.
      2b2ecd42