Explorar o código

Make sure no startup is run in remember buffer.

Carsten Dominik %!s(int64=17) %!d(string=hai) anos
pai
achega
97e9305f4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org-remember.el

+ 1 - 1
lisp/org-remember.el

@@ -430,7 +430,7 @@ to be run from that hook to function properly."
 		 (replace-match x t t))))
 
 	;; Turn on org-mode in the remember buffer, set local variables
-	(org-mode)
+	(let ((org-inhibit-startup t)) (org-mode))
 	(org-set-local 'org-finish-function 'org-remember-finalize)
 	(if (and file (string-match "\\S-" file) (not (file-directory-p file)))
 	    (org-set-local 'org-default-notes-file file))