Fix two tcl-mode defun-related bugs
authorTom Tromey <tom@tromey.com>
Sun, 24 Jun 2018 17:18:19 +0000 (11:18 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 24 Jun 2018 17:33:02 +0000 (11:33 -0600)
commitcd5bb4bf3dbad8941d25823f398b595b8f0edbb9
tree09ad146d785847a05fb96a998a357165176b5402
parenteaa054a94b786ce7dc4169c9b14893f50335f657
Fix two tcl-mode defun-related bugs

Fixes bug#23565
* lisp/progmodes/tcl.el (tcl-mode): Set beginning-of-defun-function
and end-of-defun-function.
(tcl-beginning-of-defun-function, tcl-end-of-defun-function): New
defuns.
* test/lisp/progmodes/tcl-tests.el: New file.
lisp/progmodes/tcl.el
test/lisp/progmodes/tcl-tests.el [new file with mode: 0644]