Replace obsolete functions/commands
This commit is contained in:
parent
ed2e7a65f6
commit
e204df3c05
9 changed files with 11 additions and 11 deletions
|
@ -21,7 +21,8 @@
|
|||
(goto-char (1+ beg)) (insert "\n")
|
||||
(unless (string-match ";[\s\t]*}$" (buffer-substring-no-properties beg (1+ end)))
|
||||
(goto-char end) (insert "\n"))
|
||||
(replace-regexp ";[\s\t]*" ";\n" nil beg (1+ end))
|
||||
(while (re-search-forward ";[\s\t]*" (1+ end) t)
|
||||
(replace-match ";\n" t t))
|
||||
(setq end (cadr (evil-a-curly)))
|
||||
(evil-indent beg end)
|
||||
(delete-trailing-whitespace beg end))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue