Skip to content
Snippets Groups Projects
  1. Oct 20, 2023
  2. Oct 16, 2023
  3. Oct 15, 2023
    • Stefan Monnier's avatar
      Update code for lexical-binding, cl-lib, and advice-add · 84932328
      Stefan Monnier authored
      Activate `lexical-binding`.  Use `advice-add` rather than `defadvice`.
      Avoid deprectaed `point-at-bol/eol`.  Prefer #' to quote function names.
      Fix a few docstrings to silence compiler warnings.
      
      * cc-mode-expansions.el (er/c-define-construct): Fix ' in docstring.
      
      * enh-ruby-mode-expansions.el: Require `expand-region-core`.
      
      * er-basic-expansions.el (er/mark-next-accessor): Remove unused var
      `symbol-regexp`.
      
      * expand-region-core.el: Don't require `cl`.
      (er--show-expansion-message): Declare it.
      (er--first-invocation): Move before first use.
      (er--expand-region-1): Remove unused var `set-mark-default-inactive`.
      (er/set-temporary-overlay-map): Hoist definition outside of `if`.
      
      * expand-region-custom.el (expand-region-preferred-python-mode): Fix
      custom type.
      
      * expand-region.el: Explicitly require Emacs-24.4.
      
      * js-mode-expansions.el: Require `er-basic-expansions`.
      
      * ruby-mode-expansions.el (expand-region-core): Require `cl-lib` rather
      than `cl`.  Require `er-basic-expansions`.
      (er/ruby-backward-up): Use `cl-loop`.
      (er/get-ruby-block): Remove unused vars `beg` and `end`.
      
      * the-org-mode-expansions.el (er-basic-expansions):
      Require `er-basic-expansions`.
      
      * yaml-mode-expansions.el: Re-add now that the author signed the paperwork.
      84932328
  4. Oct 30, 2022
  5. Jul 29, 2022
  6. Dec 31, 2021
  7. Dec 28, 2021
  8. Jul 08, 2021
  9. Jul 02, 2021
  10. Jul 01, 2021
  11. Jun 24, 2021
  12. Feb 17, 2021
  13. Oct 26, 2020
  14. Mar 04, 2020
  15. Mar 02, 2020
  16. Feb 25, 2020
    • Stefan Monnier's avatar
      Fix copyright and packaging for GNU ELPA · bd23f6d3
      Stefan Monnier authored
      * expand-region.el: Add `Version:` and `URL:` headers.
      * expand-region-pkg.el: Delete since GNU ELPA auto-generates it.
      * ruby-mode-expansions.el: Require `cl` to fix miscompilation.
      * .gitignore: Add ELPA-generated files.
      * <foo>.el files: Fix copyright header.
      bd23f6d3
  17. Feb 24, 2020
    • Jiangbin Zhao's avatar
      fix er/mark-comment · 1603d01f
      Jiangbin Zhao authored
      - Don't call (forward-char 1) when point is at end of buffer.
      
      - If there are trailing spaces and tabs in comment, include them.
      
      - Don't include the non-whitespace char right before the comment
        prefix.
      
        In the following C function declaration, when the point is in the
        comment, calling er/mark-comment now selects the region between the
        two slashes (including the slashes).  Without this fix, the region
        would start at the '('.
      
          void func(/* int arg */);
      1603d01f
  18. Jan 06, 2020
  19. Apr 16, 2019
  20. Mar 27, 2019
  21. Mar 26, 2019
  22. Mar 22, 2019
  23. Mar 21, 2019
  24. Mar 20, 2019
  25. Mar 19, 2019
  26. Mar 12, 2019
Loading