Bläddra i källkod

Add time-stamp

master
10sr 6 år sedan
förälder
incheckning
df51a1962e
Signerad av: 10sr GPG-nyckel ID: 7BEC428194130EB2
1 ändrade filer med 8 tillägg och 2 borttagningar
  1. +8
    -2
      emacs.el

+ 8
- 2
emacs.el Visa fil

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


Laddar…
Avbryt
Spara