Преглед на файлове

rm my delete-trailing-whitespace

pull/1/head
10sr преди 13 години
родител
ревизия
ead561d7cb
променени са 1 файла, в които са добавени 1 реда и са изтрити 10 реда
  1. +1
    -10
      emacs.el

+ 1
- 10
emacs.el Целия файл

@@ -1777,7 +1777,7 @@ when SEC is nil, stop auto save if enabled."
sgml-mode
c-mode
c++-mode))
(setq my-auto-indent-buffer-mode-list nil)
(setq my-auto-indent-buffer-mode-list nil) ;disable
(defun my-indent-buffer ()
"indent whole buffer."
(interactive)
@@ -1856,15 +1856,6 @@ this is test, does not rename files"
;; nil
;; func))))

;; delete-trailing-whitespace
;; (defun my-delete-blanks-on-eol ()
;; ""
;; (interactive)
;; (save-excursion
;; (goto-char (point-min))
;; (while (re-search-forward "[ \t]+$" nil t)
;; (replace-match "" nil nil))))

(defvar my-revert-buffer-if-needed-last-buffer nil)

(defun my-revert-buffer-if-needed ()


Зареждане…
Отказ
Запис