;;----------------------------------------------------------------------------
;; Misc config - yet to be placed in separate files
;;----------------------------------------------------------------------------
(add-auto-mode 'tcl-mode "Portfile\\'")
(fset 'yes-or-no-p 'y-or-n-p)

(add-hook 'prog-mode-hook 'goto-address-prog-mode)
(setq goto-address-mail-face 'link)

(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)

(setq-default regex-tool-backend 'perl)

(add-auto-mode 'conf-mode "Procfile")


(provide 'init-misc)

;;----------------------------------------------------------------------------
;; Misc config - yet to be placed in separate files
;;----------------------------------------------------------------------------
(add-auto-mode 'tcl-mode "Portfile\\'")
(fset 'yes-or-no-p 'y-or-n-p)

(add-hook 'prog-mode-hook 'goto-address-prog-mode)
(setq goto-address-mail-face 'link)

(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)

(setq-default regex-tool-backend 'perl)
(after-load 're-builder
  ;; Support a slightly more idiomatic quit binding in re-builder
  (define-key reb-mode-map (kbd "C-c C-k") 'reb-quit))

(add-auto-mode 'conf-mode "Procfile")


(provide 'init-misc)

Support quitting with C-c C-k in re-builder
Support quitting with C-c C-k in re-builder

blueseason/emacs.d,emuio/emacs.d,kongfy/emacs.d,sgarciac/emacs.d,qianwan/emacs.d,arthurl/emacs.d,krzysz00/emacs.d,dcorking/emacs.d,cjqw/emacs.d,braveoyster/emacs.d,blueabysm/emacs.d,mmqmzk/emacs.d,purcell/emacs.d,me020523/emacs.d,kindoblue/emacs.d,svenyurgensson/emacs.d,wegatron/emacs.d,benkha/emacs.d,roxolan/emacs.d,lust4life/emacs.d,baohaojun/emacs.d,gsmlg/emacs.d