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

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

[elpa] master c210bf6 050/272: counsel.el (counsel-tmm): Fix tmm free va


From: Oleh Krehel
Subject: [elpa] master c210bf6 050/272: counsel.el (counsel-tmm): Fix tmm free variable
Date: Mon, 25 Apr 2016 10:13:16 +0000

branch: master
commit c210bf684bc6e8e035eccef609b126f485c2267f
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-tmm): Fix tmm free variable
    
    Fixes #356
---
 counsel.el |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/counsel.el b/counsel.el
index 87ae973..4a6e68f 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1257,11 +1257,13 @@ INITIAL-INPUT can be given as the initial minibuffer 
input."
            (setq last-command-event chosen-string)
            (call-interactively choice)))))
 
+(defvar tmm-table-undef)
 (defun counsel-tmm ()
   "Text-mode emulation of looking and choosing from a menubar."
   (interactive)
   (require 'tmm)
   (run-hooks 'menu-bar-update-hook)
+  (setq tmm-table-undef nil)
   (counsel-tmm-prompt (tmm-get-keybind [menu-bar])))
 
 (defcustom counsel-yank-pop-truncate nil



reply via email to

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