Pārlūkot izejas kodu

Add time-stamp

master
10sr pirms 6 gadiem
vecāks
revīzija
df51a1962e
Parakstījis: 10sr GPG atslēgas ID: 7BEC428194130EB2
1 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. +8
    -2
      emacs.el

+ 8
- 2
emacs.el Parādīt failu

@@ -1,5 +1,7 @@
;;; emacs.el --- 10sr emacs initialization

;; Time-stamp: <2018-10-09 14:29:40 JST 10sr>

;;; Code:

;; SETUP_LOAD: (let ((file "DOTFILES_DIR/emacs.el"))
@@ -325,7 +327,7 @@ found, otherwise returns nil."
(which-key-mode))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; editting
;; editor

(setq kill-whole-line t)
(setq scroll-conservatively 35
@@ -347,6 +349,11 @@ found, otherwise returns nil."
(setq line-move-visual nil)
(setq create-lockfiles nil)

(add-hook 'before-save-hook
'time-stamp)
(set-variable 'time-stamp-format
"%:y-%02m-%02d %02H:%02M:%02S %Z 10sr")

;; key bindings
;; moving around
;;(keyboard-translate ?\M-j ?\C-j)
@@ -2219,7 +2226,6 @@ use for the buffer. It defaults to \"*recetf-show*\"."

;; (define-minor-mode my-dired-glob-filter)


;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; flycheck-checker: emacs-lisp


Notiek ielāde…
Atcelt
Saglabāt