title: How to add a comment style to an emacs mode
body: <p>I am looking to add an additional single line style of comments !* to the Fortran mode on emacs, I'd add this to my init.el file.</p>
  
  <p>From what I can see this should be doable using the <code>modify-syntax-entry</code> command, but I am struggling to succeed and there doesn't seem to be a <code>fortran-mode-syntax-table</code> so I can't see how I'd hook it to the mode.</p>
  
  <p>My current effort (which causes an error).</p>
  
  <pre><code>(modify-syntax-entry ?\!\* "&lt; \n")
  (modify-syntax-entry ?\n "&lt; \!\*")
  </code></pre>
  
  <p>The error reads <em>An error occurred while loading 'init.el': 
  Invalid read syntax: ?</em></p>