title: When I edit a file with EMACS I get a strange error. How do I fix this?
body: <p>This is what I am doing:</p>
  <ol>
  <li>Make a file or use an existing file.</li>
  <li>Emacs filename.txt.</li>
  <li>Type some new text into the file.</li>
  <li>Save file.</li>
  </ol>
  <p>After step 2, I receive an error after the emacs editor window pops up.</p>
  <p>Here is the error:</p>
  <blockquote>
  <p>2022-01-19 22:11:53.935 Emacs-x86_64-10_14[33893:994906] It's not
  legal to call -layoutSubtreeIfNeeded on a view which is already being
  laid out.  If you are implementing the view's -layout method, you can
  call -[super layout] instead. Break on void
  _NSDetectedLayoutRecursion(void) to debug.  This will be logged only once.  This may break in the future.</p>
  </blockquote>
  <p>I have already tried updating emacs and that didn't help, and googling didn't give me an answer. Currently, I have GNU Emacs 27.1 version.</p>
  <p>How do I fix this error?</p>