emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/shen-mode 3115902 06/15: 2011-10-18 Eric Schulte <addre


From: Stefan Monnier
Subject: [elpa] externals/shen-mode 3115902 06/15: 2011-10-18 Eric Schulte <address@hidden>
Date: Sun, 29 Nov 2020 00:14:27 -0500 (EST)

branch: externals/shen-mode
commit 3115902a2b18e5e243dfc0f9e91539b64a828fee
Author: Eric Schulte <schulte.eric@gmail.com>
Commit: Eric Schulte <schulte.eric@gmail.com>

    2011-10-18 Eric Schulte <schulte.eric@gmail.com>
    
    * shen-mode.el: Updating commentary to point to newer official shen website.
      (shen-mode-map): No longer inheriting functionality from c-mode.
---
 shen-mode.el | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/shen-mode.el b/shen-mode.el
index a5fdeb7..eb446a4 100644
--- a/shen-mode.el
+++ b/shen-mode.el
@@ -27,12 +27,10 @@
 ;; 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)
@@ -43,11 +41,6 @@
 (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'.")
 
@@ -422,6 +415,7 @@
      (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]