浏览代码

org.texi: complete org-crypt config example

Complete org-crypt config example with a hackish workaround
to disabling auto-save locally in a buffer:

# -*- buffer-auto-save-file-name: nil; -*-

Thanks to Bill Day for suggesting this.
Bastien Guerry 14 年之前
父节点
当前提交
5fb7c161da
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      doc/org.texi

+ 5 - 1
doc/org.texi

@@ -13921,9 +13921,13 @@ To use org-crypt it is suggested that you have the following in your
 
 (setq auto-save-default nil)
   ;; Auto-saving does not cooperate with org-crypt.el: so you need
-  ;; to turn it off if you plan to use org-crypt.el quite often.  
+  ;; to turn it off if you plan to use org-crypt.el quite often.
   ;; Otherwise, you'll get an (annoying) message each time you 
   ;; start Org.
+
+  ;; To turn it off only locally, you can insert this:
+  ;;
+  ;; # -*- buffer-auto-save-file-name: nil; -*-
 @end example
 
 Excluding the crypt tag from inheritance prevents already encrypted text