使用eval-after-load设置模式与使用模式挂钩是否有区别?我看到了一些在主要模式钩子中使用define-key的代码,以及在eval-after-load表单中使用define-key的其他一些代码。;; The following two lines of code set some org-mode options.;; In cases that doesn't work, try using setq-
我尝试设置特定于rst模式的键绑定,例如: (define-key rst-mode-map (kbd "<f5>")shell-command "make html"))))Symbol's value as variable is void: rst-mode-map(eval-after-load