all repos — archive/dotfiles @ 321e46792fd1aed34793b12574550272e77523cb

Superseded by nixfiles

Emacs: Fix option key usage generically
Alan Pearce alan.pearce@spotcap.com
Tue, 16 Feb 2016 14:44:42 +0100
commit

321e46792fd1aed34793b12574550272e77523cb

parent

5b6d3558c4eda8e757e60321fa83c8c99a5604ee

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1172,13 +1172,12 @@ (when (eq system-type 'darwin)     (set-keyboard-coding-system nil)
     (custom-set-variables
      '(mac-option-modifier 'meta)
-     '(mac-right-option-modifier 'alt)
+     '(mac-right-option-modifier '(:function 'alt :mouse 'alt))
      '(mac-control-modifier 'control)
      '(mac-right-control-modifier 'left)
      '(mac-command-modifier 'super)
      '(mac-right-command-modifier 'left)
-     '(mac-function-modifier 'hyper))
-    (bind-key "A-@" "€"))
+     '(mac-function-modifier 'hyper)))
 #+END_SRC
 
 #+BEGIN_SRC emacs-lisp