[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/integration-of-dictionary-el d30618c 11/17: * lisp/net/dictionar
From: |
Torsten Hilbrich |
Subject: |
feature/integration-of-dictionary-el d30618c 11/17: * lisp/net/dictionary.el (dictionary-tooltip-mode): Use setq-local |
Date: |
Mon, 14 Dec 2020 05:46:38 -0500 (EST) |
branch: feature/integration-of-dictionary-el
commit d30618cbc11fb33a0d55c54200eb45f39251189c
Author: Torsten Hilbrich <torsten.hilbrich@gmx.net>
Commit: Torsten Hilbrich <torsten.hilbrich@gmx.net>
* lisp/net/dictionary.el (dictionary-tooltip-mode): Use setq-local
---
lisp/net/dictionary.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el
index 1596e11..afa4d39 100644
--- a/lisp/net/dictionary.el
+++ b/lisp/net/dictionary.el
@@ -1297,11 +1297,9 @@ overwrite that mode for the current buffer.
(let ((on (if arg
(> (prefix-numeric-value arg) 0)
(not dictionary-tooltip-mode))))
- (make-local-variable 'dictionary-tooltip-mode)
- (setq dictionary-tooltip-mode on)
- (make-local-variable 'track-mouse)
+ (setq-local dictionary-tooltip-mode on)
+ (setq-local track-mouse on)
(make-local-variable 'dictionary-tooltip-mouse-event)
- (setq track-mouse on)
(dictionary-switch-tooltip-mode 1)
(if on
(local-set-key [mouse-movement] 'dictionary-tooltip-track-mouse)
- feature/integration-of-dictionary-el d5a4da2 01/17: * lisp/net/dictionary.el: Remove remnants of package, (continued)
- feature/integration-of-dictionary-el d5a4da2 01/17: * lisp/net/dictionary.el: Remove remnants of package, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el cc5f280 02/17: * lisp/net/dictionary.el: Add lexical-binding:t, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el 81ebe86 04/17: Show error message when asking to match for nothing, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el 09952ce 03/17: Removed useless check for popup-menu, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el 4deb861 10/17: * lisp/net/dictionary.el (dictionary-mode): Use setq-local, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el 0044a2e 05/17: * lisp/net/dictionary-connection.el: Add lexical-binding:t, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el ca0de4d 16/17: * etc/NEWS: Add entry for dictionary.el, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el 62d14e1 17/17: * lisp/net/dictionary.el (dictionary-pre-buffer): Unify casing, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el 89e9c16 13/17: * lisp/net/dictionary.el (dictionary-display-more-info): Spelling fix, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el d466231 14/17: A number of docstring fixes, Torsten Hilbrich, 2020/12/14
- feature/integration-of-dictionary-el d30618c 11/17: * lisp/net/dictionary.el (dictionary-tooltip-mode): Use setq-local,
Torsten Hilbrich <=
- feature/integration-of-dictionary-el b18217e 15/17: A number of docstring fixes, Torsten Hilbrich, 2020/12/14