From 2f2461602ce4c509a4739e22d4867ea254074a3a Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Sun, 13 May 2018 14:33:17 +0200 Subject: [PATCH] Don't bind user-reserved keys See `(info "(elisp) Key Binding Conventions")`, particularly the following tip: > Function keys through without modifier keys are also > reserved for users to define. --- README.md | 2 +- actionscript-config.el | 1 - actionscript-mode.el | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 0a789c0..42b2c01 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ http://www.emacswiki.org/emacs/ActionScriptMode Insert a print statement immediately after the nearest function definition before point. -This is bound to `F5`. +This is unbound by default. You might want to bind to `F5`. ### as-insert-trace diff --git a/actionscript-config.el b/actionscript-config.el index b41b77b..02bd766 100644 --- a/actionscript-config.el +++ b/actionscript-config.el @@ -143,5 +143,4 @@ with a directory named 'as' from which it builds package names." (visit-tags-table (concat default-directory "/TAGS")))) ;; Keybindings -(define-key actionscript-mode-map [f5] 'as-print-func-info) (define-key actionscript-mode-map "\C-c\C-t" 'as-insert-trace) diff --git a/actionscript-mode.el b/actionscript-mode.el index 611b513..ce1c052 100644 --- a/actionscript-mode.el +++ b/actionscript-mode.el @@ -575,5 +575,4 @@ whitespace. Keep point at same relative point in the line." (actionscript-mode) (message "actionscript-mode reloaded."))) -(define-key global-map [f5] 'reload-actionscript-mode) ;;; actionscript-mode.el ends here