- Oct 20, 2023
-
-
Magnar Sveen authored
-
- Oct 16, 2023
-
-
Stefan Monnier authored
-
- Oct 15, 2023
-
-
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.
-
- Oct 30, 2022
-
-
Jen-Chieh Shen authored
-
- Jul 29, 2022
-
-
Paulus Esterhazy authored
After upgrading from Emacs 27 to 28.1, loading expand-region breaks with the error message "Wrong type argument: stringp, (require . package)" This is due to using eval-after-load with a string argument. This odd call style was introduced in https://github.com/magnars/expand-region.el/pull/213 However, the assertion that text-mode is missing a provide call hasn't been true in 6 years: https://github.com/emacs-mirror/emacs/commit/f70f9a58c438d8b0677b1649ea7084d688ed53c8
-
- Dec 31, 2021
-
-
Stefan Kangas authored
-
- Dec 28, 2021
-
-
Stefan Kangas authored
-
- Jul 08, 2021
-
-
akater authored
-
- Jul 02, 2021
-
-
Magnar Sveen authored
This reverts commit 4419d5d5.
-
Magnar Sveen authored
This reverts commit 1c291daf.
-
Magnar Sveen authored
This reverts commit dc161a33.
-
Magnar Sveen authored
This reverts commit 09ebc2df.
-
- Jul 01, 2021
-
-
Magnar Sveen authored
This reverts commit 4168da1b.
-
Magnar Sveen authored
This reverts commit 8f1e8253.
-
Magnar Sveen authored
This reverts commit 2690fd46.
-
Magnar Sveen authored
This reverts commit 6ed37a7c.
-
Aaron Gonzales authored
-
- Jun 24, 2021
-
-
Aaron Gonzales authored
This also makes some fixes to marking for list items
-
Aaron Gonzales authored
-
Aaron Gonzales authored
-
Aaron Gonzales authored
-
- Feb 17, 2021
-
-
Aaron W. Swenson authored
Include a copy/paste example for installation via `use-package`.
-
- Oct 26, 2020
-
-
Jen-Chieh authored
-
- Mar 04, 2020
-
-
muffinmad authored
-
- Mar 02, 2020
-
-
Thomas Hisch authored
-
- Feb 25, 2020
-
-
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.
-
- Feb 24, 2020
-
-
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 */);
-
- Jan 06, 2020
-
-
Matus Goljer authored
-
- Apr 16, 2019
-
-
Pengji Zhang authored
-
- Mar 27, 2019
-
-
Andrew Whatson authored
-
Andrew Whatson authored
Adds customizable variable `expand-region-subword-enabled` to control whether subword expansions are used, nil by default. Also adds a check so that subword expansions are disabled after leaving `subword-mode`.
-
Andrew Whatson authored
This reverts commit 672e7c18.
-
- Mar 26, 2019
-
-
Andrew Whatson authored
Adds a new variable `er/save-mode-excursion` which will be used to wrap expansion attempts if set. In `org-mode` buffers this facility is used to wrap actions with `org-save-outline-visibility`.
-
Magnar Sveen authored
Reverted this since (require 'org) breaks spacemacs for some reason. This reverts commit 53233a0b.
-
- Mar 22, 2019
-
-
Magnar Sveen authored
-
- Mar 21, 2019
-
-
Magnar Sveen authored
-
- Mar 20, 2019
-
-
Magnar Sveen authored
-
- Mar 19, 2019
-
-
Magnar Sveen authored
-
Magnar Sveen authored
Thanks to @kevinjfoley Closes #241
-
- Mar 12, 2019
-
-
Magnar Sveen authored
To disable subword mode: `(setq er/enable-subword-mode? nil)` Closes #254
-