From b67364d4825a9bf0a22261809ee9e9060b268198 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Thu, 25 Feb 2016 10:57:57 -0300 Subject: [PATCH] Fix #5 - Turn on abbrev-mode --- sotlisp.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sotlisp.el b/sotlisp.el index 9aca06a9c..95b626e49 100644 --- a/sotlisp.el +++ b/sotlisp.el @@ -6,7 +6,7 @@ ;; URL: https://github.com/Malabarba/speed-of-thought-lisp ;; Keywords: convenience, lisp ;; Package-Requires: ((emacs "24.1")) -;; Version: 1.5.1 +;; Version: 1.5.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -469,7 +469,10 @@ If `speed-of-thought-mode' is already on, call ON." #'comment-or-uncomment-sexp #'sotlisp-comment-or-uncomment-sexp)) ("\C-cf" . sotlisp-find-or-define-function) - ("\C-cv" . sotlisp-find-or-define-variable))) + ("\C-cv" . sotlisp-find-or-define-variable)) + (if sotlisp-mode + (abbrev-mode 1) + (kill-local-variable 'abbrev-mode))) (defun sotlisp-turn-on-everywhere () "Call-once function to turn on sotlisp everywhere. -- 2.39.2