diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2016-06-12 04:33:04 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2016-06-12 04:33:04 +0200 |
commit | 48c0cb1f5ceeb12824c9465d0549583e970ab983 (patch) | |
tree | 3f5ca6c0a9e6b8b08d624b101ae58aeedb251684 /elisp/geiser-mode.el | |
parent | 570146fd77ab6764986bedce7b035471f8592d8d (diff) | |
download | geiser-48c0cb1f5ceeb12824c9465d0549583e970ab983.tar.gz geiser-48c0cb1f5ceeb12824c9465d0549583e970ab983.tar.bz2 |
Removing stale keywords when switching to another scheme
Addresses github's #158, and its implementation is really easy (kudos to
fice-t, also for telling me about bound-and-true-p).
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r-- | elisp/geiser-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index f8329f8..640dbcc 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -1,6 +1,6 @@ ;; geiser-mode.el -- minor mode for scheme buffers -;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015 Jose Antonio Ortega Ruiz +;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Jose Antonio Ortega Ruiz ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the Modified BSD License. You should @@ -195,6 +195,7 @@ With prefix, recursively macro-expand the resulting expression." (defun geiser-set-scheme () "Associates current buffer with a given Scheme implementation." (interactive) + (geiser-syntax--remove-kws) (let ((impl (geiser-impl--read-impl))) (geiser-impl--set-buffer-implementation impl) (geiser-repl--set-up-repl impl))) |