diff options
author | Marcin Borkowski <mbork@mbork.pl> | 2017-03-31 13:06:06 +0200 |
---|---|---|
committer | Marcin Borkowski <mbork@mbork.pl> | 2017-05-12 11:36:27 +0200 |
commit | 22fc91704be4737865b3715e5278dc78029791bd (patch) | |
tree | be0dcd1fb3fa25bbfb01467a8dac6716056da217 /lisp/emacs-lisp/inline.el | |
parent | 6d58dda40a0a43d14dffdd995f0cb3dcc329fa4b (diff) | |
download | emacs-22fc91704be4737865b3715e5278dc78029791bd.tar.gz emacs-22fc91704be4737865b3715e5278dc78029791bd.tar.bz2 emacs-22fc91704be4737865b3715e5278dc78029791bd.zip |
Fix Bug#21072 and rework `mark-defun'
* 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 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions