[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5195: 23.1; bad indentation in (elisp) example
From: |
Drew Adams |
Subject: |
bug#5195: 23.1; bad indentation in (elisp) example |
Date: |
Sat, 2 Jan 2010 12:01:34 -0800 |
> > emacs -Q
> > Go to (elisp)Example Major Modes
>
> > The `emacs-lisp-mode-syntax-table' example is not indented
> > correctly. E.g.:
>
> > (while (< i ?0)
> > (modify-syntax-entry i "_ " table)
> > (setq i (1+ i)))
>
> I can't reproduce this: the indentation is correct for me.
Well, it's as clear as day for me, in emacs -Q on Windows. Perhaps it's a
platform problem.
It appears just as is written above. The calls to modify-syntax-entry and setq
are not indented underneath the while - they are outdented wrt the while.