semantic-mode
使用 C-c, 作为多个命令的前缀。 org-mode
使用 C-c, 作为 org-priority
。我不在 org-mode
中使用 semantic-mode
。有没有办法仅在 Emacs 24.3 的 org-mode
缓冲区中禁用 semantic-mode
?
最佳答案
也许是这样的——在加载 org-mode 之前的初始化中:
(add-hook 'org-mode-hook (lambda () (and (featurep 'semantic) (unload-feature 'semantic))))
所有其他模式都需要一个反向 Hook 加载语义。不是那么优雅... :(
关于emacs - 消除语义模式键盘与组织模式的冲突,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16826056/