1. 18 Dec, 2011 1 commit
    • Jan Djärv's avatar
      NS selection bug fix and cleanup, see thread C-g crash in C-x C-f (OSX Lion). · c803b2b7
      Jan Djärv authored
      Thread is on emacs-devel.
      
      * lisp/term/ns-win.el (ns-get-selection-internal)
      (ns-store-selection-internal): Declare.
      (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal): Declare
      as obsolete.
      (ns-get-pasteboard, ns-paste-secondary): Use
      ns-get-selection-internal.
      (ns-set-pasteboard,  ns-copy-including-secondary): Use
      ns-store-selection-internal.
      
      * src/nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
      (symbol_to_nsstring): Fix indentation.
      (ns_symbol_to_pb): New function.
      (Fns_get_selection_internal): Renamed from Fns_get_cut_buffer_internal.
      (Fns_rotate_cut_buffers_internal): Removed.
      (Fns_store_selection_internal): Renamed from
      Fns_store_cut_buffer_internal.
      (ns_get_foreign_selection, Fx_own_selection_internal)
      (Fx_disown_selection_internal, Fx_selection_exists_p)
      (Fns_get_selection_internal, Fns_store_selection_internal): Use
      ns_symbol_to_pb and check if return value is nil.
      (syms_of_nsselect): Remove ifdef CUT_BUFFER_SUPPORT.  Remove
      defsubr Sns_rotate_cut_buffers_internal.  Sns_get_cut_buffer_internal
      renamed to Sns_get_selection_internal, Sns_store_cut_buffer_internal
      renamed to Sns_store_selection_internal.
      (ns_handle_selection_request): Move code to Fx_own_selection_internal
      and remove this function.
      (ns_handle_selection_clear): Remove, never used.
      (Fx_own_selection_internal): Move code from ns_handle_selection_request
      here.
      c803b2b7
  2. 17 Dec, 2011 2 commits
  3. 15 Dec, 2011 2 commits
  4. 13 Dec, 2011 3 commits
  5. 11 Dec, 2011 1 commit
  6. 10 Dec, 2011 4 commits
  7. 09 Dec, 2011 3 commits
  8. 08 Dec, 2011 2 commits
  9. 07 Dec, 2011 2 commits
  10. 06 Dec, 2011 2 commits
  11. 05 Dec, 2011 6 commits
  12. 04 Dec, 2011 3 commits
  13. 03 Dec, 2011 3 commits
  14. 02 Dec, 2011 1 commit
    • Juri Linkov's avatar
      Change `wordify' to `word-search-regexp'. · 02b16839
      Juri Linkov authored
      * lisp/isearch.el (isearch-occur): Use `word-search-regexp' for
      `isearch-word'.
      (isearch-search-and-update): Add condition for `isearch-word' and
      call `word-search-regexp'. 
      
      * src/search.c (Fword_search_regexp): New Lisp function created from
      `wordify'.  Change type of arg `lax' from `int' to `Lisp_Object'.
      (Fword_search_backward, Fword_search_forward)
      (Fword_search_backward_lax, Fword_search_forward_lax):
      Use `Fword_search_regexp' instead of `wordify'.  Doc fix.
      (syms_of_search): Define `Sword_search_regexp'.
      
      Fixes: debbugs:10145
      02b16839
  15. 01 Dec, 2011 2 commits
  16. 30 Nov, 2011 3 commits