1. 07 Apr, 2021 2 commits
  2. 06 Apr, 2021 7 commits
    • Stefan Monnier's avatar
      * lisp/find-file.el: Make the commands oblivious to mouse/non-mouse · c105017c
      Stefan Monnier authored
      (ff-find-other-file): Add `event` argument.
      (ff-find-other-file-other-window): Rename from
      `ff-mouse-find-other-file-other-window` and use this new argument.
      (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
      Make them obsolete aliases.
      (ff-upcase-p): Remove unused `start` and `end` arguments and
      simplify accordingly.
      c105017c
    • Stefan Monnier's avatar
      * lisp/find-file.el: Use lexical-binding · c9655fcb
      Stefan Monnier authored
      Remove unused `:group` args.  Prefer #' to quote function.
      
      (ff-special-constructs, ff-find-the-other-file, ff-get-file-name)
      (ff-list-replace-env-vars, ff-cc-hh-converter): Use `match-string`.
      (modula2-other-file-alist): Tighten regexps.
      (ff-get-other-file, ff-find-other-file): Use dynamic scoping.
      (ff-find-the-other-file): Minor simplification.
      (ff-other-file-name): Delete unused function.
      (ff-string-match): Don't let-bind `case-fold-search` if not needed.
      (ff-basename): Make it an obsolete alias for `file-name-nondirectory`.
      (ff-switch-file): Minor simplification.
      (ff-list-replace-env-vars): Use [:alnum:].
      (ff-upcase-p): Use [:upper:]
      (ff-cc-hh-converter): Use [:upper:] and [:lower:].
      c9655fcb
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-wrap-pause): New defcustom (bug#47599). · 735ed235
      Juri Linkov authored
      (isearch-repeat): Use it.
      (isearch-search): Don't ding when isearch-wrap-pause is no-ding.
      735ed235
    • Stefan Monnier's avatar
      * lisp/progmodes/ps-mode.el: Use lexical-binding · ccd616ae
      Stefan Monnier authored
      And prefer #' to quote function names.
      ccd616ae
    • Michael Albinus's avatar
      Fix Bug#47601 in Tramp · 73826624
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
      Use `tramp-handle-file-newer-than-file-p'.  (Bug#47601)
      (tramp-sh-handle-file-newer-than-file-p, tramp-run-test2): Remove.
      73826624
    • Stefan Monnier's avatar
      * lisp/msb.el: Use lexical-binding · e0c39259
      Stefan Monnier authored
      Remove redundant `:group` args.
      (msb--add-to-menu): Strength-reduce `eval` to `symbol-value` and use `push`.
      (msb--create-sort-item): Strength-reduce `eval` to `symbol-value`.
      (msb-menu-bar-update-buffers): Replace `(lambda...) with a proper closure.
      e0c39259
    • Stefan Monnier's avatar
      * lisp/hippie-exp.el: Use lexical-binding · 7b0a5a55
      Stefan Monnier authored
      Remove redundant `:group` args.
      (make-hippie-expand-function): Turn it into a function returning
      a closure.
      (try-expand-all-abbrevs): Strength-reduce `eval` to `symbol-value`
      and use `abbrev-table-p` rather than `vectorp`.
      7b0a5a55
  3. 05 Apr, 2021 22 commits
  4. 04 Apr, 2021 9 commits
    • Glenn Morris's avatar
      Regenerate semantic grammars if the generating code changes · 9cb3db0b
      Glenn Morris authored
      * admin/grammars/Makefile.in (emacs): Set load-prefer-newer.
      (grammar_bovine, grammar_wisent): New variables.
      (${bovinedir}/%-by.el, ${bovinedir}/scm-by.el)
      (${cedetdir}/semantic/%-wy.el, ${wisentdir}/%-wy.el)
      (${wisentdir}/javat-wy.el, ${cedetdir}/srecode/srt-wy.el):
      Depend on the source file for the generating function.
      * lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
      * lisp/cedet/semantic/wisent/grammar.el (wisent--make-parser-1):
      Force generation of the output file.  The previous "is the output
      newer than the input" failed to account for changes in the
      generation code itself.  Force so we can let make figure it out.
      9cb3db0b
    • Harald Jörg's avatar
      cperl-mode: Don't reposition the window when writing messages · 258a1785
      Harald Jörg authored
      * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres): Avoid
      printing messages while point is off-screen (Bug#47549).
      258a1785
    • Lars Ingebrigtsen's avatar
      Clarify the doc string of insert-image · 3ad98bba
      Lars Ingebrigtsen authored
      * lisp/image.el (insert-image): Mention the effect of a whitespace
      image (bug#47240).
      3ad98bba
    • Lars Ingebrigtsen's avatar
      Work around issue with (setq Man-notify-method 'aggressive) · c967f55a
      Lars Ingebrigtsen authored
      * lisp/man.el (Man-bgproc-sentinel): Check that the window still
      exists before trying to select it (bug#38164).
      c967f55a
    • Glenn Morris's avatar
      Make maintainer-clean delete generated files, as per standards · dd1aa7bc
      Glenn Morris authored
      These are generated files that were once kept in the repository.
      When they were removed from the repository, as a half-way measure
      they were only deleted by "extraclean", but this was never
      necessary and was not a proper use of that rule.
      * admin/charsets/Makefile.in (gen-clean): New phony target.
      (maintainer-clean): Delete generated files.
      * admin/grammars/Makefile.in (gen-clean): New phony target.
      (maintainer-clean): Delete generated files.
      * admin/unidata/Makefile.in (gen-clean): New phony target.
      (maintainer-clean): Delete generated files.
      * leim/Makefile.in (gen-clean): New phony target.
      (maintainer-clean): Delete generated files.
      * GNUmakefile: Doc fix.
      dd1aa7bc
    • Alan Third's avatar
      Work around librsvg bug (bug#47074) · dd5ba88a
      Alan Third authored
      Librsvg <= 2.40 has restrictions on how certain numbers can be run
      together in path elements which do not match the SVG spec.
      
      * etc/images/checkbox-mixed.svg:
      * etc/images/checked.svg:
      * etc/images/radio-checked.svg:
      * etc/images/unchecked.svg: Separate problem numbers.
      * etc/images/radio-mixed.svg: Separate problem numbers and color and
      font-weight data.
      dd5ba88a
    • Michael Albinus's avatar
      * test/lisp/filenotify-tests.el (file-notify--test-timeout): · 6a80632c
      Michael Albinus authored
      Change timing on emba.
      6a80632c
    • Eli Zaretskii's avatar
      Fix MS-Windows build · c3cd3fb0
      Eli Zaretskii authored
      * src/image.c: (init_svg_functions) [WINDOWSNT]: Define and load
      rsvg_handle_set_stylesheet from the DLL for librsvg > 2.48.
      (lookup_image): Use xmalloc.
      c3cd3fb0
    • Stefan Kangas's avatar
      Use lexical-binding in hilit-chg.el · 523fb9b5
      Stefan Kangas authored
      * lisp/hilit-chg.el: Use lexical-binding.  Remove redundant :group
      args.  Doc and formatting fixes.
      (highlight-changes-mode, highlight-changes-visible-mode):
      Use keyword arguments.
      (hilit-chg-display-changes, highlight-changes-rotate-faces):
      Quote function symbols as such.
      (hilit-x, hilit-y, hilit-e): Define variables on top-level to
      silence the byte-compiler.
      (highlight-markup-buffers): Improve message format.
      523fb9b5