diff options
| author | Daniel MartÃn | 2023-06-25 22:17:14 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-06-29 08:37:15 +0300 |
| commit | ef16339918e3f31831dd271cde40cb2072069875 (patch) | |
| tree | 482f6dcf5535aba1fe37fc348df6801ee316bc98 /java/debug.sh | |
| parent | 2c90ade09a4d52a583158cb9cacf665ac11e8387 (diff) | |
| download | emacs-ef16339918e3f31831dd271cde40cb2072069875.tar.gz emacs-ef16339918e3f31831dd271cde40cb2072069875.zip | |
Make js-beginning-of-defun return non-nil on success
The docstring of 'beginning-of-defun-function' says that the
function shall return non-nil when it found the beginning
of a defun. This is specially important because the calling
code decides when to move point depending on the return value.
* lisp/progmodes/js.el (js-beginning-of-defun)
(js--beginning-of-defun-flat): Return non-nil when the beginning
of a defun is found. (Bug#64283)
* test/lisp/progmodes/js-tests.el (js-mode-end-of-defun): Add a unit
test.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions