# HG changeset patch # User Oleksandr Gavenko # Date 1255853435 -10800 # Node ID c3ec8e16a00717c8d933501c5a05ff0135b64ce5 # Parent e36736f245fddae40ca5f44ba56738f8419d21f0# Parent 6454364c25cf1c1cc58e2cfb079ed97024f63f61 merged diff -r 6454364c25cf -r c3ec8e16a007 .emacs-my --- a/.emacs-my Wed Oct 14 17:20:45 2009 +0300 +++ b/.emacs-my Sun Oct 18 11:10:35 2009 +0300 @@ -827,11 +827,12 @@ (setq-default indent-tabs-mode nil) ; t - будут вставляться \t (setq tab-always-indent t) (setq c-tab-always-indent t) -(let ( (line-width 400) ) - (setq i (+ (/ line-width 4) 1)) +(let ( (line-width 400) i ) + (setq i (* (ceiling line-width 4) 4)) (setq tab-stop-list nil) - (while (> (setq i (- i 1)) 0) - (setq tab-stop-list (cons (* i 4) tab-stop-list)))) + (while (>= i 0) + (setq tab-stop-list (cons i tab-stop-list)) + (setq i (- i 4)))) ;; ---------------------------------------------------------------------- ;; Diff.