[Freeciv-Dev] Emacs function to indent regions
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Based on comments of some list members I wrote some lisp code. It
inserts some "{" to match up the base level, calls indent(1) and
removes the "{"s. It will only work if you select a proper region. So
selecting "if(cond) {block}" is ok while "else {block}" will not work.
I'm a beginner to list so please point out anything which can be done
better.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Transported to a surreal landscape, a young girl kills the first woman
she meets and then teams up with three complete strangers to kill again."
-- TV listing for the Wizard of Oz in the Marin Independent Journal
emacs-indent-function.lisp
Description: Text document
- [Freeciv-Dev] Emacs function to indent regions,
Raimar Falke <=
|
|