Browse Source

Minor fixes

Carsten Dominik 15 năm trước cách đây
mục cha
commit
f5cffa89ef
3 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 3 0
      lisp/ChangeLog
  2. 1 0
      lisp/org-src.el
  3. 1 1
      lisp/org.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2010-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-src.el (org-edit-src-allow-write-back-p): Define
+	variable.
+
 	* org.el (org-inline-image-overlays): New variable.
 	(org-toggle-inline-images, org-display-inline-images)
 	(org-remove-inline-images): New commands.

+ 1 - 0
lisp/org-src.el

@@ -166,6 +166,7 @@ For example, there is no ocaml-mode in Emacs, but the mode to use is
 (define-key org-src-mode-map "\C-c'" 'org-edit-src-exit)
 (defvar org-edit-src-force-single-line nil)
 (defvar org-edit-src-from-org-mode nil)
+(defvar org-edit-src-allow-write-back-p nil)
 (defvar org-edit-src-picture nil)
 (defvar org-edit-src-beg-marker nil)
 (defvar org-edit-src-end-marker nil)

+ 1 - 1
lisp/org.el

@@ -15476,7 +15476,7 @@ INCLUDE-LINKED is passed to `org-display-inline-images'."
       (progn
 	(org-remove-inline-images)
 	(message "Inline image display turned off"))
-    (org-display-inline-images arg)
+    (org-display-inline-images include-linked)
     (if org-inline-image-overlays
 	(message "%d images displayed inline"
 		 (length org-inline-image-overlays))