Don't insist on the presence of a mouse in strokes-mode
* lisp/strokes.el (strokes-mode): Don't test `display-mouse-p', as the presence of a mouse may vary over the course of an Emacs session.
This commit is contained in:
parent
4509662236
commit
d05894f82d
1 changed files with 1 additions and 3 deletions
|
@ -1382,9 +1382,7 @@ Encode/decode your strokes with \\[strokes-encode-buffer],
|
|||
|
||||
\\{strokes-mode-map}"
|
||||
:lighter strokes-lighter :global t
|
||||
(cond ((not (display-mouse-p))
|
||||
(error "Can't use Strokes without a mouse"))
|
||||
(strokes-mode ; turn on strokes
|
||||
(cond (strokes-mode ; turn on strokes
|
||||
(and (file-exists-p strokes-file)
|
||||
(null strokes-global-map)
|
||||
(strokes-load-user-strokes))
|
||||
|
|
Loading…
Add table
Reference in a new issue