From c181dff40548923568ef655a6ea1e2c4fe2ae608 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 23 Sep 2010 00:56:37 +0000 Subject: [PATCH] * update emacs --- .emacs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.2