From: Don Armstrong Date: Thu, 23 Sep 2010 00:56:37 +0000 (+0000) Subject: * update emacs X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=commitdiff_plain;h=c181dff40548923568ef655a6ea1e2c4fe2ae608;ds=sidebyside * update emacs --- diff --git a/.emacs b/.emacs index e16f95b..dd536b0 100644 --- a/.emacs +++ b/.emacs @@ -282,9 +282,9 @@ ;;; outlining support for ess modes (add-hook 'ess-mode-hook - '(lambda () - (outline-minor-mode) - (setq outline-regexp "\\(^#\\{4,5\\} \\)\\|\\(^[a-zA-Z0-9_\.]+ ?<- ?function(.*{\\)") - (defun outline-level - (lambda () (interactive) (cond ((looking-at "^##### ") 1)((looking-at "^#### ") 2)((looking-at "^[a-zA-Z0-9_\.]+ ?<- ?function(.*{") 3) (t 1000))) + '(lambda () + (outline-minor-mode) + (setq outline-regexp "\\(^#\\{4,5\\} \\)\\|\\(^[a-zA-Z0-9_\.]+ ?<- ?function(.*{\\)") + (defun outline-level + (lambda () (interactive) (cond ((looking-at "^##### ") 1)((looking-at "^#### ") 2)((looking-at "^[a-zA-Z0-9_\.]+ ?<- ?function(.*{") 3) (t 1000))) ))) \ No newline at end of file