diff options
| -rw-r--r-- | lisp/strokes.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/strokes.el b/lisp/strokes.el index 03f1c109cb8..d45d9c19732 100644 --- a/lisp/strokes.el +++ b/lisp/strokes.el | |||
| @@ -268,7 +268,7 @@ WARNING: Changing the value of this variable will gravely affect the | |||
| 268 | :type 'integer | 268 | :type 'integer |
| 269 | :group 'strokes) | 269 | :group 'strokes) |
| 270 | 270 | ||
| 271 | (defcustom strokes-file "~/.strokes" | 271 | (defcustom strokes-file (convert-standard-filename "~/.strokes") |
| 272 | "*File containing saved strokes for stroke-mode (default is ~/.strokes)." | 272 | "*File containing saved strokes for stroke-mode (default is ~/.strokes)." |
| 273 | :type 'file | 273 | :type 'file |
| 274 | :group 'strokes) | 274 | :group 'strokes) |
| @@ -1285,8 +1285,8 @@ strokes with | |||
| 1285 | (let ((on-p (if arg | 1285 | (let ((on-p (if arg |
| 1286 | (> (prefix-numeric-value arg) 0) | 1286 | (> (prefix-numeric-value arg) 0) |
| 1287 | (not strokes-mode)))) | 1287 | (not strokes-mode)))) |
| 1288 | (cond ((not window-system) | 1288 | (cond ((not (display-mouse-p)) |
| 1289 | (error "Can't use strokes without windows")) | 1289 | (error "Can't use strokes without a mouse")) |
| 1290 | (on-p ; turn on strokes | 1290 | (on-p ; turn on strokes |
| 1291 | (and (file-exists-p strokes-file) | 1291 | (and (file-exists-p strokes-file) |
| 1292 | (null strokes-global-map) | 1292 | (null strokes-global-map) |