Remove indent level setup
This commit is contained in:
parent
add1590e1d
commit
107869d019
@ -865,6 +865,7 @@ to the beginning of the file."
|
|||||||
;; face for this match
|
;; face for this match
|
||||||
(0 font-lock-variable-name-face t)))))))
|
(0 font-lock-variable-name-face t)))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** ~idm~ (ID manager) related functions
|
** ~idm~ (ID manager) related functions
|
||||||
|
|
||||||
*** Get specific fields from a record in ~idm~
|
*** Get specific fields from a record in ~idm~
|
||||||
@ -2835,6 +2836,7 @@ Because that’s still my favourite language.
|
|||||||
(lambda ()
|
(lambda ()
|
||||||
(local-set-key (kbd "C-c o") 'ff-find-other-file)
|
(local-set-key (kbd "C-c o") 'ff-find-other-file)
|
||||||
(c-set-style "PERSONAL")
|
(c-set-style "PERSONAL")
|
||||||
|
(customize-set-variable 'c-basic-offset 4)
|
||||||
(customize-set-variable 'tab-width 4)
|
(customize-set-variable 'tab-width 4)
|
||||||
(customize-set-variable 'indent-tabs-mode nil)
|
(customize-set-variable 'indent-tabs-mode nil)
|
||||||
(c-toggle-auto-newline 1)))
|
(c-toggle-auto-newline 1)))
|
||||||
@ -2845,7 +2847,7 @@ Because that’s still my favourite language.
|
|||||||
|
|
||||||
** Set indentation levels to the same as the tab width
|
** Set indentation levels to the same as the tab width
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp :tangle no
|
||||||
(defvaralias 'c-basic-offset 'tab-width)
|
(defvaralias 'c-basic-offset 'tab-width)
|
||||||
(defvaralias 'cperl-indent-level 'tab-width)
|
(defvaralias 'cperl-indent-level 'tab-width)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user