Hi Keita,



> It seems that folding.el contains similar entry already. All I can think
> of is this portion of folding.el:
> ----------------------------------------------------------------------
>   ;;  XEmacs latex-mode, after (tex-site), indents the whole
>   ;;  fold 50 characters right. Don't do that.

>   (unless (string-match "latex" (symbol-name major-mode))
>     (indent-according-to-mode))
> ----------------------------------------------------------------------
> This conditional now yields nil for AUCTeX LaTeX-mode because
> `string-match' distinguishes cases by default.


Aha thanks. I then boldly added 
--8<---------------cut here---------------start------------->8---

  (when  (featurep 'xemacs)
    (unless (string-match "latex" (symbol-name major-mode))
      (indent-according-to-mode)))
--8<---------------cut here---------------end--------------->8---

And this solved the problem, thanks a lot!



> Regards,
> Ikumi Keita
> #StandWithUkraine #StopWarInUkraine
> #Gaza #StopMassiveKilling #CeasefireNOW

-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to