1. 30 Oct, 2022 16 commits
  2. 29 Oct, 2022 19 commits
    • Basil L. Contovounesios's avatar
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Set 'native-comp-debug' to zero on MS-Windows · df7ca699
      Eli Zaretskii authored
      * lisp/emacs-lisp/comp.el (native-comp-debug): Don't emit debug
      symbols on MS-Windows.  The default was originally made 1 because
      without that, C backtraces on Windows would not show
      natively-compiled functions correctly, or would even stop short of
      reaching the topmost call frame.  But that turned out to be due to
      a bug in GDB, which was meanwhile fixed in GDB 12.  So we can now
      reset the value back to zero, and gain smaller *.eln files on
    • Stefan Kangas's avatar
      Prefer defvar-keymap in ps-mode.el · 81d7827f
      Stefan Kangas authored
      * lisp/progmodes/ps-mode.el (ps-mode-map, ps-run-mode-map): Prefer
    • Stefan Kangas's avatar
      ; Remove redundant declares of w3m-minor-mode-map · 5686df3d
      Stefan Kangas authored
      * lisp/gnus/gnus-art.el (w3m-minor-mode-map):
      * lisp/net/newst-backend.el (w3m-minor-mode-map): Don't declare.
    • Eli Zaretskii's avatar
    • Alan Mackenzie's avatar
      Fix the subr-arity returned by native compiled functions with lots of args · 31e7b9c0
      Alan Mackenzie authored
      This fixes bug #58739.  Make subr-arity return, e.g., (12 . 12) rather than
      (12 . many) for a function with a fixed number of arguments more than 8.
      * lisp/emacs-lisp/comp.el (comp-prepare-args-for-top-level): Only return a cdr
      of 'many when there are &rest arguments.
      * src/eval.c (eval_sub): Also check for a fixed number of args over 8 when
      using the nargs + *args calling convention.
      (funcall_subr): Also check numargs <= 8 before using the fixed args calling
      convention.  Include the case numargs > 8 in the aMany calling convention.
      * src/lisp.h (DEFUN): Amend the comment about MANY.
    • Eli Zaretskii's avatar
      Make Dired header clickable on non-Posix systems as well · 174dd064
      Eli Zaretskii authored
      * lisp/dired.el (dired--make-directory-clickable): Support
      MS-Windows and MS-DOS absolute directory names with drive letters
      and UNCs.  (Bug#21973)
    • Eli Zaretskii's avatar
      Display the Dired buffer as unmodified initially · e9bdf3d4
      Eli Zaretskii authored
      * lisp/dired.el (dired-readin): Make sure a newly-created Dired
      buffer is shown as unmodified.  (Bug#58863)
    • Po Lu's avatar
      Fix another GCC warning · f826f56a
      Po Lu authored
      * src/nsterm.m (ns_draw_glyphless_glyph_string_foreground): Fix
      another compiler warning.
    • Po Lu's avatar
      Fix crash destroying NS frame tool bar · 6f3d8ec4
      Po Lu authored
      * src/nsterm.m (ns_draw_glyphless_glyph_string_foreground): Work
      around silly GCC bug causing splurious warnings.
      ([EmacsWindow dealloc]): Detach tool bar before dealloc'ing
      window.  (bug#58857)
    • Alan Mackenzie's avatar
      c-get-fontification-context: Refine the last non-default arm of the cond · dfde4fc8
      Alan Mackenzie authored
      This fixes bug #58772.
      * lisp/progmodes/cc-fonts.el (c-get-fontification-context): Make the function
      return (decl . nil) when MATCH-POS is in the second paren list of something
      like DEFUN (..) (..).  Tidy up untidy code with save-excursion's for greater
      accuracy.  Set a c-type text property value c-decl-arg-start to speed up
      future calls.  Reindent the entire function.
    • Stefan Kangas's avatar
      Prefer defvar-keymap in help.el · ce527464
      Stefan Kangas authored
      * lisp/help.el (help-key): New function.
      (help-map): Prefer defvar-keymap.
    • Stefan Kangas's avatar
      Prefer defvar-keymap in page-ext.el · 3b0296c8
      Stefan Kangas authored
      * lisp/textmodes/page-ext.el (pages--ctl-x-ctl-p-map)
      (pages-directory-mode-map): Prefer defvar-keymap.
    • Stefan Kangas's avatar
      ; Minor cleanups in make-mode.el · aa23bf98
      Stefan Kangas authored
      * lisp/progmodes/make-mode.el
      (makefile-insert-macro, makefile-insert-target)
      (makefile-insert-target-ref, makefile-backslash-region)
      (makefile-browser-next-line, makefile-browser-previous-line)
      (makefile-remember-target): Minor cleanups.
    • Po Lu's avatar
      Fix last change · 6fca31fd
      Po Lu authored
      * src/itree.c (struct itree_iterator):
      (itree_iterator_next): Fix some fields and const confusion.
    • Po Lu's avatar
      Fix function declarations in itree headers · fbf2bfba
      Po Lu authored
      * src/itree.h: Make all declarations `extern'.
    • Po Lu's avatar
      Fix coding style of latest feature branch merge · 7ca456da
      Po Lu authored
      * src/itree.c (interval_stack_ensure_space)
      (interval_stack_push_flagged, struct itree_iterator)
      (struct check_subtree_result, check_subtree, check_tree)
      (itree_newlimit, interval_tree_inherit_offset)
      (interval_tree_propagate_limit, itree_node_init, itree_node_begin)
      (itree_node_end, itree_create, interval_tree_rotate_left)
      (interval_tree_rotate_right, interval_tree_insert_fix)
      (interval_tree_insert, itree_insert, itree_node_set_region)
      (interval_tree_contains, interval_tree_subtree_min)
      (interval_tree_remove_fix, interval_tree_replace_child)
      (interval_tree_transplant, itree_remove, itree_iterator_start)
      (itree_insert_gap, itree_delete_gap, interval_node_intersects)
      (itree_iterator_next, itree_iterator_narrow): Tabify.  Fix
      comment and code coding style.
    • Po Lu's avatar
      Include Cairo FreeType header when available · 8562a23f
      Po Lu authored
      * src/xsettings.c: Include cairo-ft.h if CAIRO_HAS_FT_FONT.
  3. 28 Oct, 2022 5 commits