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

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

[elpa] externals/exwm b87f4fb 4/5: ; * exwm.el (exwm-enable): Ignore unr


From: Chris Feng
Subject: [elpa] externals/exwm b87f4fb 4/5: ; * exwm.el (exwm-enable): Ignore unrecognized command line arguments.
Date: Sat, 30 Jul 2016 11:20:23 +0000 (UTC)

branch: externals/exwm
commit b87f4fbd7170ec156d6fa575584f55c25dd1da1b
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>

    ; * exwm.el (exwm-enable): Ignore unrecognized command line arguments.
---
 exwm.el |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/exwm.el b/exwm.el
index 4c156dc..692c863 100644
--- a/exwm.el
+++ b/exwm.el
@@ -681,6 +681,9 @@ This hook is only run when EXWM is started with 
emacsclient.")
     (_                                  ;enable EXWM
      (setq frame-resize-pixelwise t     ;mandatory; before init
            window-resize-pixelwise t)
+     ;; Ignore unrecognized command line arguments.  This can be helpful
+     ;; when EXWM is launched by some session manager.
+     (push #'vector command-line-functions)
      (add-hook 'window-setup-hook #'exwm-init t)          ;for Emacs
      (add-hook 'after-make-frame-functions #'exwm-init t) ;for Emacs Client
      (add-hook 'kill-emacs-hook #'exwm--server-stop)



reply via email to

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