雑な init.el の括弧バリデーション
check-parens
関数をセーブ前に噛ませればいい。
(add-hook 'emacs-lisp-mode-hook 'check-parens-before-save) (defun check-parens-before-save () (add-hook 'write-contents-functions 'check-parens nil t) ; local-hook )
check-parens
関数をセーブ前に噛ませればいい。
(add-hook 'emacs-lisp-mode-hook 'check-parens-before-save) (defun check-parens-before-save () (add-hook 'write-contents-functions 'check-parens nil t) ; local-hook )