1. 28 Nov, 2015 14 commits
    • Artur Malabarba's avatar
      * lisp/character-fold.el: Also play nice with case-folding · 19141a9b
      Artur Malabarba authored
      (character-fold-to-regexp): Take `case-fold-search' into account.
      19141a9b
    • Artur Malabarba's avatar
      * lisp/character-fold.el: Add support for multi-char matches · 5c599700
      Artur Malabarba authored
      (character-fold-table): Now has an extra-slot. This is a second
      char-table that holds multi-character matches.  See docstring for
      details.
      (character-fold-to-regexp): Can build branching regexps when a
      character's entry the extra slot of `character-fold-table' matches the
      characters that succeed it.
      5c599700
    • Artur Malabarba's avatar
      * lisp/character-fold.el: Code simplifications · 35c7dc06
      Artur Malabarba authored
      (character-fold-table): Reduce the scope of a variable.
      (character-fold-to-regexp): Change logic to work directly on the
      input string.  It's a little easier to understand, probably
      faster, and sets us up for implementing multi-char matches.
      
      * test/automated/character-fold-tests.el
      (character-fold--test-fold-to-regexp): New test.
      35c7dc06
    • Eli Zaretskii's avatar
      Document changes in "C-h l" · ea087151
      Eli Zaretskii authored
      * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
      
      * etc/NEWS: mark "C-h l" changes as documented.
      ea087151
    • Eli Zaretskii's avatar
      Finalize documentation of 'custom-prompt-customize-unsaved-options' · 74646d1d
      Eli Zaretskii authored
      * doc/emacs/custom.texi (Saving Customizations): Index the new
      function 'custom-prompt-customize-unsaved-options'.
      
      * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
      is useful.
      74646d1d
    • Eli Zaretskii's avatar
      Document 'comment-line' · 71d23f95
      Eli Zaretskii authored
      * doc/emacs/programs.texi (Comment Commands): Document
      'comment-line'.
      
      * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
      71d23f95
    • Eli Zaretskii's avatar
      Document new checkdoc features · d4ade2c8
      Eli Zaretskii authored
      * doc/lispref/tips.texi (Tips, Library Headers): Document the
      keyword-checking features of checkdoc and the commands
      'checkdoc-file' and 'checkdoc-current-buffer'.
      
      * etc/NEWS: Move the checkdoc-related entries to their own
      section.
      d4ade2c8
    • Philipp Stephani's avatar
      Simplify the prologue of emacs-module.c functions · c217802b
      Philipp Stephani authored
      * emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
      (module_make_global_ref)
      (module_free_global_ref, module_make_function, module_funcall)
      (module_intern, module_type_of, module_extract_integer)
      (module_make_integer, module_extract_float, module_make_float)
      (module_copy_string_contents, module_make_string)
      (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
      (module_get_user_finalizer, module_set_user_finalizer)
      (module_vec_set, module_vec_get, module_vec_size): Use new helper
      macro MODULE_FUNCTION_BEGIN.
      c217802b
    • Eli Zaretskii's avatar
      Don't reject module calls with no arguments · a63d1eca
      Eli Zaretskii authored
      * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
      a63d1eca
    • Philipp Stephani's avatar
      Make module-call be visible from Lisp · b527d609
      Philipp Stephani authored
      * src/emacs-module.c (module_make_function): Use internal--module-call.
      (Finternal_module_call): Renamed from Fmodule_call.  Add safety
      checks.
      (syms_of_module): DEFSYM save-value-p and save-pointer-p.  Do
      defsubr internal--module-call.
      b527d609
    • Eli Zaretskii's avatar
      Add etags tests for the recent Lua-related bugfix · 40b794bf
      Eli Zaretskii authored
      * test/etags/lua-src/test.lua: New file, tests the issues raised
      by bug#21934.
      * test/etags/Makefile (LUASRC): Add test.lua.
      * test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2:
      * test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4:
      * test/etags/ETAGS.good_5:
      * test/etags/ETAGS.good_6:
      * test/etags/CTAGS.good: Adapt to the new Lua test.  Also, an old
      regression fix, resolved around 25 May 2015, required changes to
      the "good" ETAGS files.
      40b794bf
    • Eli Zaretskii's avatar
      Fix Lua tags when a function name includes '.' or ':' · 690ccf0f
      Eli Zaretskii authored
      * lib-src/etags.c (Lua_functions): Add a tag for the last element
      of a function name after a dot or a colon.  (Bug#21934)
      690ccf0f
    • Eli Zaretskii's avatar
      Improve documentation of search and replace commands · 24703a0a
      Eli Zaretskii authored
      * doc/emacs/search.texi (Replacement and Lax Matches): Document
      which commands are affected by 'replace-character-fold'.
      (Lax Search): Add a cross reference to "Replacement and Lax
      Matches".  Improve wording.  Fix lost extra whitespace.
      (Search Customizations): Improve wording.  (Bug#22036)
      See also comments in
      http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
      
      * lisp/replace.el (query-replace, query-replace-regexp)
      (query-replace-regexp-eval, replace-string, replace-regexp):
      Mention 'replace-character-fold' in the doc strings.
      24703a0a
    • Paul Eggert's avatar
      Fix minor problems found by static checking · f32c79dd
      Paul Eggert authored
      * src/undo.c (prepare_record): Add proper prototype for C.
      f32c79dd
  2. 27 Nov, 2015 15 commits
  3. 26 Nov, 2015 11 commits