]> code.delx.au - gnu-emacs-elpa/commitdiff
2011-10-18 Eric Schulte <schulte.eric@gmail.com>
authorEric Schulte <schulte.eric@gmail.com>
Tue, 18 Oct 2011 23:05:32 +0000 (17:05 -0600)
committerEric Schulte <schulte.eric@gmail.com>
Tue, 18 Oct 2011 23:05:32 +0000 (17:05 -0600)
* shen-mode.el: Updating commentary to point to newer official shen website.
  (shen-mode-map): No longer inheriting functionality from c-mode.

packages/shen-mode/shen-mode.el

index a5fdeb76133e059be7e7936e599eb9501905ee16..eb446a4751d6a88604ee17164c07fc822535f574 100644 (file)
 ;; A minor mode for editing shen source code.  Shen is a modern lisp
 ;; dialect with support for functional and declarative programming,
 ;; pattern matching and a very powerful type system.  See the
-;; following for more information on Shen.
-;; http://www.lambdassociates.org/specification/shen_1.8.htm
+;; following for more information on Shen. www.shenlanguage.org
 
 ;;; Code:
 (require 'lisp-mode)
-(require 'cc-mode)
 (require 'imenu)
 
 (defcustom shen-mode-hook '(turn-on-eldoc-mode)
 (defvar shen-mode-map
   (let ((map (make-sparse-keymap)))
     (set-keymap-parent map lisp-mode-shared-map)
-    (substitute-key-definition 'indent-new-comment-line
-                               'c-indent-new-comment-line
-                               map global-map)
-    (substitute-key-definition 'fill-paragraph 'c-fill-paragraph
-                               map global-map)
     map)
   "Currently just inherits from `lisp-mode-shared-map'.")
 
      (comment-column . 32)
      (parse-sexp-ignore-comments . t)
      (comment-use-global-state . nil)
+     (comment-multi-line . t)
      (eldoc-documentation-function . shen-mode-eldoc)
      (imenu-case-fold-search . t)
      (imenu-generic-expression . ,shen-imenu-generic-expression)