]> git.eshelyaron.com Git - emacs.git/commit
Handle TeX comments when making new paragraph
authorKarl Fogel <kfogel@red-bean.com>
Sat, 26 Nov 2016 05:44:48 +0000 (23:44 -0600)
committerKarl Fogel <kfogel@red-bean.com>
Sat, 26 Nov 2016 05:44:48 +0000 (23:44 -0600)
commit93c0f5126a50a0b1267ba74c444701af9ad46dc6
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