Emacs: Do not use hs-minor-mode

master
Pierre Neidhardt 2016-10-08 08:40:11 +05:30
parent 9ca8e36c70
commit b0fad8a46b
2 changed files with 3 additions and 3 deletions

View File

@ -214,7 +214,7 @@ To view where the bindings are set in your config files, lookup
;
; (transient-mark-mode 1)
;
; ; Fix slow startup when network is slow. Most visible with Helm and Magit with Emacs <25.
; ;; Fix slow startup when network is slow. Most visible with Helm and Magit with Emacs <25.
; (setq tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C' -o ControlPersist=no")
(load "local" t t)

View File

@ -322,8 +322,8 @@
(add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode))
;; Easy code folding toggle.
(add-hook 'prog-mode-hook 'hs-minor-mode)
(add-hook 'prog-mode-hook (lambda () (local-set-key (kbd "C-c h") 'hs-toggle-hiding)))
; (add-hook 'prog-mode-hook 'hs-minor-mode)
; (add-hook 'prog-mode-hook (lambda () (local-set-key (kbd "C-c h") 'hs-toggle-hiding)))
;; Move mouse away.
; (mouse-avoidance-mode 'banish)