;; 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. http://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)