.emacs-my
changeset 188 e36736f245fd
parent 162 0ac8d1f4304d
child 189 c3ec8e16a007
equal deleted inserted replaced
162:0ac8d1f4304d 188:e36736f245fd
   798 ;; TAB (tab settings)
   798 ;; TAB (tab settings)
   799 (setq-default tab-width 4)
   799 (setq-default tab-width 4)
   800 (setq-default indent-tabs-mode nil)     ; t - будут вставляться \t
   800 (setq-default indent-tabs-mode nil)     ; t - будут вставляться \t
   801 (setq tab-always-indent t)
   801 (setq tab-always-indent t)
   802 (setq c-tab-always-indent t)
   802 (setq c-tab-always-indent t)
   803 (let ( (line-width 400) )
   803 (let ( (line-width 400) i )
   804   (setq i (+ (/ line-width 4) 1))
   804   (setq i (* (ceiling line-width 4) 4))
   805   (setq tab-stop-list nil)
   805   (setq tab-stop-list nil)
   806   (while (> (setq i (- i 1)) 0)
   806   (while (>= i 0)
   807     (setq tab-stop-list (cons (* i 4) tab-stop-list))))
   807     (setq tab-stop-list (cons i tab-stop-list))
       
   808     (setq i (- i 4))))
   808 
   809 
   809 ;; ----------------------------------------------------------------------
   810 ;; ----------------------------------------------------------------------
   810 ;; Diff.
   811 ;; Diff.
   811 (setq ediff-diff-options "")
   812 (setq ediff-diff-options "")
   812 
   813