Sfoglia il codice sorgente

Add time-stamp

master
10sr 6 anni fa
parent
commit
df51a1962e
Firmato da: 10sr ID Chiave GPG: 7BEC428194130EB2
1 ha cambiato i file con 8 aggiunte e 2 eliminazioni
  1. +8
    -2
      emacs.el

+ 8
- 2
emacs.el Vedi File

@@ -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


Caricamento…
Annulla
Salva