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

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

[nongnu] elpa/guru-mode a4f88ba 03/42: renamed to guru-mode


From: ELPA Syncer
Subject: [nongnu] elpa/guru-mode a4f88ba 03/42: renamed to guru-mode
Date: Wed, 11 Aug 2021 09:58:26 -0400 (EDT)

branch: elpa/guru-mode
commit a4f88ba428cbac3d0e46a55a0036376a386dee63
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>

    renamed to guru-mode
---
 gosu-mode.el => guru-mode.el | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/gosu-mode.el b/guru-mode.el
similarity index 83%
rename from gosu-mode.el
rename to guru-mode.el
index c9dd732..ccd296d 100644
--- a/gosu-mode.el
+++ b/guru-mode.el
@@ -1,9 +1,9 @@
-;;; gosu-mode.el --- Become an Emacs gosu
+;;; master-mode.el --- Become an Emacs master
 
 ;; Copyright (C) 2012 Bozhidar Batsov
 
 ;; Author: Bozhidar Batsov
-;; URL: https://github.com/bbatsov/gosu-mode
+;; URL: https://github.com/bbatsov/master-mode
 ;; Version: 0.1
 ;; Keywords: convenience
 
@@ -28,12 +28,12 @@
 
 ;;; Commentary:
 ;;
-;; Gosu mode teaches to use Emacs properly.
+;; Master mode teaches to use Emacs properly.
 ;;
 ;;; Code:
 
-(defvar gosu-mode-map (make-sparse-keymap)
-  "Gosu mode's keymap.")
+(defvar master-mode-map (make-sparse-keymap)
+  "Master mode's keymap.")
 
 (defvar affected-bindings-list '(("<left>" . "C-b")
                                  ("<right>" . "C-f")
@@ -60,19 +60,19 @@
                                  ("<end>" . "C-e")
                                  ("<C-end>" . "M->")))
 
-(defun gosu-rebind (original-key alt-key)
+(defun master-rebind (original-key alt-key)
   `(lambda ()
      (interactive)
      (message (concat ,original-key " keybinding is disabled! Use " ,alt-key " 
instead."))))
 
 (dolist (cell affected-bindings-list)
-  (define-key gosu-mode-map
-    (read-kbd-macro (first cell)) (gosu-rebind (first cell) (rest cell))))
+  (define-key master-mode-map
+    (read-kbd-macro (first cell)) (master-rebind (first cell) (rest cell))))
 
-(define-minor-mode gosu-mode
+(define-minor-mode master-mode
   "A minor mode that teaches to help you use Emacs the way it was intended to 
be used."
-  t " gosu"
-  'gosu-mode-map :global t)
+  t " master"
+  'master-mode-map :global t)
 
-(provide 'gosu-mode)
-;;; gosu-mode.el ends here
+(provide 'master-mode)
+;;; master-mode.el ends here



reply via email to

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