Handle TeX comments when making new paragraph
commit93c0f5126a50a0b1267ba74c444701af9ad46dc6
authorKarl Fogel <kfogel@red-bean.com>
Sat, 26 Nov 2016 05:44:48 +0000 (25 23:44 -0600)
committerKarl Fogel <kfogel@red-bean.com>
Sat, 26 Nov 2016 05:44:48 +0000 (25 23:44 -0600)
tree6c72569360b531023fdefbd64e77d28f9e832b3d
parente0884f1d04d90458fb412a488bcda20a9d45bfa4
Handle TeX comments when making new paragraph

* lisp/textmodes/tex-mode.el (tex-handle-newline): New function.
  Handle comment case directly, and dispatch to `tex-terminate-paragraph'
  for original behavior in non-comment case.
  (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.
lisp/textmodes/tex-mode.el