Created
January 1, 2019 11:57
-
-
Save jfbu/422ed9322492ced7a932079fc462e302 to your computer and use it in GitHub Desktop.
extract of a configuration file for emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun jfbu/emacs-lisp-mode-hook () | |
(electric-indent-mode 0) ; Arrrggh! 29 novembre 2014 | |
(setq comment-add 0) ; un seul! | |
(define-key emacs-lisp-mode-map "\C-c;" 'comment-region); | |
(define-key emacs-lisp-mode-map "\C-c:" 'uncomment-region); | |
; (define-key emacs-lisp-mode-map "\C-c%" 'comment-region); | |
(define-key emacs-lisp-mode-map "\C-cu" 'uncomment-region); | |
) | |
(add-hook 'emacs-lisp-mode-hook #'jfbu/emacs-lisp-mode-hook t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment