summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/generate-lisp-file.el
diff options
context:
space:
mode:
authorDaniel Martín <mardani29@yahoo.es>2023-06-25 22:17:14 +0200
committerEli Zaretskii <eliz@gnu.org>2023-06-29 08:37:15 +0300
commitef16339918e3f31831dd271cde40cb2072069875 (patch)
tree482f6dcf5535aba1fe37fc348df6801ee316bc98 /lisp/emacs-lisp/generate-lisp-file.el
parent2c90ade09a4d52a583158cb9cacf665ac11e8387 (diff)
downloademacs-ef16339918e3f31831dd271cde40cb2072069875.tar.gz
emacs-ef16339918e3f31831dd271cde40cb2072069875.tar.bz2
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 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions