branch: master
commit 49225f379efedf228636985a92ca6fb84cfdea5a
Author: Artur Malabarba <[email protected]>
Commit: Artur Malabarba <[email protected]>
[Fix #12] Don't reset nameless-current-name when disabling the mode
---
nameless.el | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/nameless.el b/nameless.el
index cf463cd..735b4d8 100644
--- a/nameless.el
+++ b/nameless.el
@@ -5,7 +5,7 @@
;; Author: Artur Malabarba <[email protected]>
;; URL: https://github.com/Malabarba/nameless
;; Keywords: convenience, lisp
-;; Version: 1.0.0
+;; Version: 1.0.1
;; Package-Requires: ((emacs "24.4"))
;; This program is free software; you can redistribute it and/or modify
@@ -285,7 +285,6 @@ Return S."
nil 'local))
(remove-function (local 'filter-buffer-substring-function)
#'nameless--filter-string)
- (setq nameless-current-name nil)
(remove-hook 'hack-local-variables-hook
#'nameless--after-hack-local-variables
'local)