# HG changeset patch # User Oleksandr Gavenko # Date 1492972079 -10800 # Node ID 37b616faabb821feac3a1f180b17d9e46a4e70bd # Parent 81091a6d400a9b8c59aff1f434a51ee3156a628a Fixed parents and key binding syntax for ide-*. diff -r 81091a6d400a -r 37b616faabb8 .emacs-my --- a/.emacs-my Sun Apr 23 17:47:05 2017 +0300 +++ b/.emacs-my Sun Apr 23 21:27:59 2017 +0300 @@ -1406,12 +1406,12 @@ (defun ide-idea-open-this-buffer () "Open current buffer in Intellij Idea." (interactive) - (unless (and (stringp (buffer-file-name) (file-regular-p (buffer-file-name)))) + (unless (and (stringp (buffer-file-name)) (file-regular-p (buffer-file-name))) (error "Buffer have no association with a file")) (ide-idea-open-file (buffer-file-name) (line-number-at-pos))) -(define-key global-map [s-n] 'ide-netbeans-open-this-buffer) -(define-key global-map [s-i] 'ide-idea-open-this-buffer) +(define-key global-map [?\s-n] 'ide-netbeans-open-this-buffer) +(define-key global-map [?\s-i] 'ide-idea-open-this-buffer) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "calendar")