summaryrefslogtreecommitdiffstats
path: root/.emacs.d/functions.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/functions.el')
-rw-r--r--.emacs.d/functions.el21
1 files changed, 0 insertions, 21 deletions
diff --git a/.emacs.d/functions.el b/.emacs.d/functions.el
index 5f3f1c0..8ceed5b 100644
--- a/.emacs.d/functions.el
+++ b/.emacs.d/functions.el
@@ -129,27 +129,6 @@ Currently adds | & ! . + = - / % * , < > ? : ->"
(if (string-equal suffix "el")
(byte-compile-file fname)))))
-(defun on-prog-mode ()
- (font-lock-add-keywords
- nil
- '(("\\b\\(0[xX][0-9a-fA-F]+[lL]?\\|[0-9]+\\.?[0-9]*\\([eE][-+]?[0-9]+\\)?\\([lL]\\|[fF]\\|[dD]\\)?\\)\\b"
- 0 font-lock-constant-face)
- ("\\b\\(\\.[0-9]+\\([eE][-+]?[0-9]+\\)?\\([lL]\\|[fF]\\|[dD]\\)?\\)\\b"
- 0 font-lock-constant-face)))
- (rainbow-delimiters-mode)
- (pretty-lambdas))
-
-(defun on-c-mode ()
- (local-set-key [f8] 'c-toggle-header-source)
- (local-set-key [f9] 'compile)
- (local-set-key [C-m] 'newline-and-indent)
- (local-set-key [C-return] 'newline))
-
-(defun on-html-mode ()
- (local-set-key [f9] 'browse-to-current-file)
- (setq fill-column 73)
- (auto-fill-mode))
-
(defun pretty-lambdas ()
(font-lock-add-keywords
nil `(("(\\(lambda\\>\\)"