diff options
author | Marcin Borkowski <mbork@mbork.pl> | 2017-03-31 13:06:06 +0200 |
---|---|---|
committer | Marcin Borkowski <mbork@mbork.pl> | 2017-03-31 13:16:21 +0200 |
commit | 83093d56ea6c53c0b21c0ec3cdec23eb42e976ef (patch) | |
tree | 9e9fb20fd024a863a90136f404af5ce2e9c6a7b2 /test/lisp/xml-tests.el | |
parent | edac693e0c115e6a4317df7fe7801e3c7c8d97b6 (diff) | |
download | emacs-fix-bug-21072.tar.gz |
Fix Bug#21072 and rework `mark-defun'fix-bug-21072
* test/lisp/progmodes/elisp-mode-tests.el (mark-defun-test-buffer):
New variable
(mark-defun-no-arg-region-inactive)
(mark-defun-no-arg-region-active)
(mark-defun-arg-region-active)
(mark-defun-pos-arg-region-inactive)
(mark-defun-neg-arg-region-inactive, mark-defun-bob): Add tests for
the new `mark-defun'
* lisp/emacs-lisp/lisp.el (beginning-of-defun--in-emptyish-line-p):
New function
(beginning-of-defun-comments): New function
(mark-defun): Fix bug#21072, also rewrite large parts of `mark-defun'
to accept a numerical prefix argument
Diffstat (limited to 'test/lisp/xml-tests.el')
0 files changed, 0 insertions, 0 deletions