diff options
| author | Yuuki Harano | 2020-05-02 00:21:03 +0900 |
|---|---|---|
| committer | Jeff Walsh | 2020-11-24 12:24:39 +1100 |
| commit | 5a72a07fa5bcec2ad5265284dfb2a5dec7485e7f (patch) | |
| tree | 21df03a98e2dcf86a8aacbc7605217965a5fd959 | |
| parent | 014d56fa134f8f4810a716e0e076309c692edaba (diff) | |
| download | emacs-5a72a07fa5bcec2ad5265284dfb2a5dec7485e7f.tar.gz emacs-5a72a07fa5bcec2ad5265284dfb2a5dec7485e7f.zip | |
* pgtk-win.el: fix compile-time warnings.
| -rw-r--r-- | lisp/term/pgtk-win.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/term/pgtk-win.el b/lisp/term/pgtk-win.el index 2205ad662b3..f3239c6c1ad 100644 --- a/lisp/term/pgtk-win.el +++ b/lisp/term/pgtk-win.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | (eval-when-compile (require 'cl-lib)) | 4 | (eval-when-compile (require 'cl-lib)) |
| 5 | (or (featurep 'pgtk) | 5 | (or (featurep 'pgtk) |
| 6 | (error "%s: Loading pgtk-win.el but not compiled for pure Gtk+-3." | 6 | (error "%s: Loading pgtk-win.el but not compiled for pure Gtk+-3." |
| 7 | (invocation-name))) | 7 | invocation-name)) |
| 8 | 8 | ||
| 9 | ;; Documentation-purposes only: actually loaded in loadup.el. | 9 | ;; Documentation-purposes only: actually loaded in loadup.el. |
| 10 | (require 'term/common-win) | 10 | (require 'term/common-win) |
| @@ -108,8 +108,9 @@ the last file dropped is selected." | |||
| 108 | (defvar pgtk-right-control-modifier) | 108 | (defvar pgtk-right-control-modifier) |
| 109 | 109 | ||
| 110 | ;; You say tomAYto, I say tomAHto.. | 110 | ;; You say tomAYto, I say tomAHto.. |
| 111 | (defvaralias 'pgtk-option-modifier 'pgtk-alternate-modifier) | 111 | (with-no-warnings |
| 112 | (defvaralias 'pgtk-right-option-modifier 'pgtk-right-alternate-modifier) | 112 | (defvaralias 'pgtk-option-modifier 'pgtk-alternate-modifier) |
| 113 | (defvaralias 'pgtk-right-option-modifier 'pgtk-right-alternate-modifier)) | ||
| 113 | 114 | ||
| 114 | (defun pgtk-do-hide-emacs () | 115 | (defun pgtk-do-hide-emacs () |
| 115 | (interactive) | 116 | (interactive) |
| @@ -306,7 +307,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") | |||
| 306 | ;; Make sure we have a valid resource name. | 307 | ;; Make sure we have a valid resource name. |
| 307 | (or (stringp x-resource-name) | 308 | (or (stringp x-resource-name) |
| 308 | (let (i) | 309 | (let (i) |
| 309 | (setq x-resource-name (invocation-name)) | 310 | (setq x-resource-name invocation-name) |
| 310 | 311 | ||
| 311 | ;; Change any . or * characters in x-resource-name to hyphens, | 312 | ;; Change any . or * characters in x-resource-name to hyphens, |
| 312 | ;; so as not to choke when we use it in X resource queries. | 313 | ;; so as not to choke when we use it in X resource queries. |