1. 11 Oct, 2013 5 commits
    • Paul Eggert's avatar
      * lisp.h (eassume): New macro. · b9ff995e
      Paul Eggert authored
      Also, include <verify.h>, for 'assume'.
      * alloc.c (bool_vector_payload_bytes, Fmake_bool_vector)
      (vroundup, vector_nbytes):
      * data.c (bool_vector_spare_mask, bool_vector_binop_driver)
      (Fbool_vector_not, Fbool_vector_count_matches)
      (Fbool_vector_count_matches_at):
      Use eassume, not eassert.
      * casetab.c (set_identity, shuffle):
      * composite.c (composition_gstring_put_cache):
      * dispnew.c (update_frame_1):
      * ftfont.c (ftfont_shape_by_flt):
      * image.c (gif_load):
      * intervals.c (offset_intervals):
      * macfont.m (macfont_shape):
      Remove calls to 'assume' that are no longer needed, because
      --enable-gcc-warnings no longer generates bogus warnings
      when these calls are removed.
      b9ff995e
    • Dmitry Antipov's avatar
      33ac0265
    • Stefan Monnier's avatar
      * lisp/progmodes/sh-script.el: Provide simpl(e|istic) completion. · dd070019
      Stefan Monnier authored
      (explicit-shell-file-name): Declare.
      (sh--vars-before-point, sh--cmd-completion-table): New functions.
      (sh-completion-at-point-function): New function.
      (sh-mode): Use it.
      (sh-smie--keyword-p): Remove unused argument.
      (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
      vars.
      (sh-set-shell): Always setup SMIE, even if we use the
      old indentation code.
      dd070019
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the · b68e2926
      Dmitry Gutov authored
      cases of ? and =.
      (ruby-smie-rules): Simplify the "do" rule.  The cases when the
      predicate would return nil are almost non-existent.
      (ruby-smie--redundant-do-p): Include "until" and "for" statements.
      b68e2926
    • Dmitry Gutov's avatar
      * lisp/emacs-lisp/smie.el (smie--matching-block-data): Invalidate the · 0922b826
      Dmitry Gutov authored
      cache also after commands that modify the buffer but don't move
      point.
      0922b826
  2. 10 Oct, 2013 18 commits
  3. 09 Oct, 2013 13 commits
  4. 08 Oct, 2013 4 commits
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t] · b0949cc4
      Juri Linkov authored
      to isearch-other-control-char.
      (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
      and isearch-post-command-hook to post-command-hook.
      (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
      and isearch-post-command-hook from post-command-hook.
      (isearch-unread-key-sequence)
      (isearch-reread-key-sequence-naturally)
      (isearch-lookup-scroll-key, isearch-other-control-char)
      (isearch-other-meta-char): Remove functions.
      (isearch-pre-command-hook, isearch-post-command-hook):
      New functions based on isearch-other-meta-char rewritten
      relying on the new behavior of overriding-terminal-local-map
      that does not replace the local keymaps any more.
      
      Fixes: debbugs:15200
      b0949cc4
    • Paul Eggert's avatar
      Fix minor problems found by static checking. · 3b158d11
      Paul Eggert authored
      * dispnew.c (save_current_matrix): Omit unnecessary casts.
      * dispnew.c (update_frame_with_menu): Mark debug local as used.
      * keyboard.c, keyboard.h (Qmouse_movement): Now static.
      * keyboard.c (read_menu_command): Remove unused local.
      * lisp.h (read_menu_command): New decl.
      * menu.c, menu.h (menu_item_width): Arg is now unsigned char *, for
      benefit of STRING_CHAR_AND_LENGTH.  All uses changed.
      Return ptrdiff_t, not int.
      * term.c (tty_menu_struct): 'allocated' member is now ptrdiff_t,
      not int, for benefit of xpalloc.
      (tty_menu_create, tty_menu_make_room): Simplify by using xzalloc
      and xpalloc.
      (have_menus_p): Remove; unused.
      (tty_menu_add_pane, tty_menu_add_selection): Change signedness of
      local char * pointer to pacify STRING_CHAR_AND_LENGTH.
      (tty_menu_add_selection, tty_menu_locate, tty_meny_destroy):
      Now static.
      (save_and_enable_current_matrix): Omit unnecessary casts.
      (read_menu_input): Omit local extern decl (now in lisp.h).
      Don't access uninitialized storage if mouse_get_xy fails.
      (tty_menu_activate): Mark local as initialized, for lint.
      (tty_menu_activate, tty_meny_show): Remove unused locals.
      3b158d11
    • Eli Zaretskii's avatar
      Attempt to fix broken compilation on several systems due to menu.h. · c7a7f318
      Eli Zaretskii authored
       src/term.c: Include "../lwlib/lwlib.h" before including menu.h.
      c7a7f318
    • Eli Zaretskii's avatar
      Fix bug #15557 with spelling in the manual. · b0904477
      Eli Zaretskii authored
       ack.texi (Acknowledgments): Fix spelling of Hrvoje Nikֵ¡iִ‡'s name.
      b0904477