PeterParfenov 1 год назад
Родитель
Сommit
d5cf723996
1 измененных файлов с 0 добавлено и 14 удалено
  1. 0 14
      .emacs

+ 0 - 14
.emacs

@@ -225,25 +225,11 @@
 (if (equal nil (equal major-mode 'org-mode))
     (windmove-default-keybindings 'meta))
 
-;; Delete trailing whitespaces, format buffer and untabify when save buffer
-;;(defun format-current-buffer()
-;;    (indent-region (point-min) (point-max)))
-;;(defun untabify-current-buffer()
-;;    (if (not indent-tabs-mode)
-;;        (untabify (point-min) (point-max)))
-;;    nil)
-;;(add-to-list 'write-file-functions 'format-current-buffer)
-;;(add-to-list 'write-file-functions 'untabify-current-buffer)
-;;(add-to-list 'write-file-functions 'delete-trailing-whitespace)
-
 ;; Mouse support
 (xterm-mouse-mode 1)
 
 (setq mac-command-key-is-meta t)
 
-(setq load-path (cons (expand-file-name "/opt/homebrew/Cellar/cmake/3.24.3/share/emacs/site-lisp/cmake/cmake-mode.el") load-path))
-(require 'cmake-mode)
-
 (defun copy-line (arg)
   "Copy lines (as many as prefix argument) in the kill ring"
   (interactive "p")