Explorar o código

Merge branch 'master' of code.orgmode.org:bzg/org-mode

Bastien %!s(int64=7) %!d(string=hai) anos
pai
achega
d48bff37ad
Modificáronse 2 ficheiros con 11 adicións e 1 borrados
  1. 10 0
      doc/org-manual.org
  2. 1 1
      lisp/org.el

+ 10 - 0
doc/org-manual.org

@@ -19180,6 +19180,16 @@ Here is a suggestion for Org Crypt settings in Emacs init file:
 ;; # -*- buffer-auto-save-file-name: nil; -*-
 #+end_src
 
+It's possible to use different keys for different headings by
+specifying the respective key as property =CRYPTKEY=, e.g.:
+
+#+begin_example
+,* Totally secret :crypt:
+  :PROPERTIES:
+  :CRYPTKEY: 0x0123456789012345678901234567890123456789
+  :END:
+#+end_example
+
 Excluding the =crypt= tag from inheritance prevents already encrypted
 text from being encrypted again.
 

+ 1 - 1
lisp/org.el

@@ -9982,7 +9982,7 @@ Raise a user error when there is nothing to follow."
     (with-temp-buffer
       (let ((org-inhibit-startup (not reference-buffer)))
 	(org-mode)
-	(insert (org-link-escape s))
+	(insert s)
 	(goto-char (point-min))
 	(when reference-buffer
 	  (setq org-link-abbrev-alist-local