代码之家  ›  专栏  ›  技术社区  ›  prosseek

如何控制emacs中的变量?

  •  0
  • prosseek  · 技术社区  · 14 年前

    《组织模式手册》第49页有如下评论。

    "To limit tag inheritance to specific tags, or to turn it off entirely, use the variable org-use-tag-iheritance and org-tags-exclude-from-inheritance." 
    

    似乎我应该在emacs中将这些变量设置为1或t。是这样吗?如果是,我该怎么做?

    2 回复  |  直到 14 年前
        1
  •  5
  •   phimuemue    14 年前

    M-x set-variable RET var RET value (来自 http://www.delorie.com/gnu/docs/emacs/emacs_478.html )

        2
  •  2
  •   phils    14 年前

    (setq variable value) 在.emacs文件中。或者,由于这些变量都是用 defcustom ,也可以使用:

    M-x customize-variable org-use-tag-iheritance
    M-x customize-variable org-tags-exclude-from-inheritance