Fix typo and comment.
authorDaiki Ueno <ueno@unixuser.org>
Sun, 25 Jul 2010 11:50:51 +0000 (20:50 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Sun, 25 Jul 2010 11:50:51 +0000 (20:50 +0900)
lisp/ChangeLog
lisp/epa-file.el

index ded4106..e5629f4 100644 (file)
 
        * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
        (epa-file-insert-file-contents): Hack to prevent
-       find-file from opening empty buffer when decryptin failed
+       find-file from opening empty buffer when decryption failed
        (bug#6568).
 
 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
index 53dc7dd..af016eb 100644 (file)
@@ -139,11 +139,11 @@ way."
            (error
             (if (setq entry (assoc file epa-file-passphrase-alist))
                 (setcdr entry nil))
+            ;; Hack to prevent find-file from opening empty buffer
+            ;; when decryption failed (bug#6568).  See the place
+            ;; where `find-file-not-found-functions' are called in
+            ;; `find-file-noselect-1'.
             (when (file-exists-p local-file)
-              ;; Hack to prevent find-file from opening empty buffer
-              ;; when decryption failed (bug#6568).  See the place
-              ;; where `find-file-not-found-functions' are called in
-              ;; `find-file-noselect-1'.
               (make-local-variable 'epa-file-error)
               (setq epa-file-error error)
               (add-hook 'find-file-not-found-functions