Skip to content

Instantly share code, notes, and snippets.

@jfbu jfbu/foremacs.el
Created Jan 1, 2019

Embed
What would you like to do?
extract of a configuration file for emacs
(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
You can’t perform that action at this time.