[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34648: 26.1; emacs-client: gpm-mouse rejected at daemon launch
From: |
Eli Zaretskii |
Subject: |
bug#34648: 26.1; emacs-client: gpm-mouse rejected at daemon launch |
Date: |
Tue, 26 Feb 2019 17:48:49 +0200 |
> Date: Tue, 26 Feb 2019 00:12:07 +0000 (UTC)
> From: Luc Pierard de Maujouy <lpdmlpdm@yahoo.com>
> Cc: "34648@debbugs.gnu.org" <34648@debbugs.gnu.org>
>
> I've just tried in .emacs:
> (add-hook 'after-make-frame-functions
> (lambda (frame)
> (when (display-graphic-p frame) <<<<<<<<<<<<<<<<<
> (gpm-mouse-mode t))))
> Which does nothing.
The display-graphic-p test is wrong: you want GPM on TTY frames, not
on GUI frames.
> Switching from when to unless trigger the initial error message.
Parse error.