]> code.delx.au - gnu-emacs/blobdiff - lisp/org/org-crypt.el
Add a new function `svg-embed'
[gnu-emacs] / lisp / org / org-crypt.el
index f527673cbd4d22e68ffb2ea5297aa0e0de3357a3..8abe32befe01fe581482041ebce80cabc06b3ae4 100644 (file)
@@ -1,6 +1,6 @@
 ;;; org-crypt.el --- Public key encryption for org-mode entries
 
-;; Copyright (C) 2007-2015 Free Software Foundation, Inc.
+;; Copyright (C) 2007-2016 Free Software Foundation, Inc.
 
 ;; Emacs Lisp Archive Entry
 ;; Filename: org-crypt.el
@@ -133,9 +133,10 @@ See `org-crypt-disable-auto-save'."
        (and
        (eq org-crypt-disable-auto-save 'ask)
        (y-or-n-p "org-decrypt: auto-save-mode may cause leakage.  Disable it for current buffer? ")))
-      (message (concat "org-decrypt: Disabling auto-save-mode for " (or (buffer-file-name) (current-buffer))))
-                                       ; The argument to auto-save-mode has to be "-1", since
-                                       ; giving a "nil" argument toggles instead of disabling.
+      (message "org-decrypt: Disabling auto-save-mode for %s"
+               (or (buffer-file-name) (current-buffer)))
+      ;; The argument to auto-save-mode has to be "-1", since
+      ;; giving a "nil" argument toggles instead of disabling.
       (auto-save-mode -1))
      ((eq org-crypt-disable-auto-save nil)
       (message "org-decrypt: Decrypting entry with auto-save-mode enabled.  This may cause leakage."))
@@ -224,7 +225,7 @@ See `org-crypt-disable-auto-save'."
            ;; outline property starts at the \n of the heading.
            (delete-region (1- (point)) end)
            ;; Store a checksum of the decrypted and the encrypted
-           ;; text value.  This allow to reuse the same encrypted text
+           ;; text value.  This allow reusing the same encrypted text
            ;; if the text does not change, and therefore avoid a
            ;; re-encryption process.
            (insert "\n" (propertize decrypted-text