Mindmap: Patch #330 Change Request 3

master
Hollow Man 6 years ago
parent edcfe120e8
commit e508163554
No known key found for this signature in database
GPG Key ID: 6CA2A0660F48F7A
  1. 6
      app/mindmap/eaf-mindmap.el
  2. 4
      eaf.el

@ -316,7 +316,7 @@ actural call `org-json-gen-alist1' to work."
(eaf-edit-mode)
(set (make-local-variable 'eaf--buffer-id) buffer-id))
(switch-to-buffer edit-text-buffer)
(setq eaf-mindmap--current-add-mode "sub")
(setq-local eaf-mindmap--current-add-mode "sub")
(setq header-line-format
(substitute-command-keys
(concat
@ -345,7 +345,7 @@ actural call `org-json-gen-alist1' to work."
(eaf-edit-mode)
(set (make-local-variable 'eaf--buffer-id) buffer-id))
(switch-to-buffer edit-text-buffer)
(setq eaf-mindmap--current-add-mode "brother")
(setq-local eaf-mindmap--current-add-mode "brother")
(setq header-line-format
(substitute-command-keys
(concat
@ -374,7 +374,7 @@ actural call `org-json-gen-alist1' to work."
(eaf-edit-mode)
(set (make-local-variable 'eaf--buffer-id) buffer-id))
(switch-to-buffer edit-text-buffer)
(setq eaf-mindmap--current-add-mode "middle")
(setq-local eaf-mindmap--current-add-mode "middle")
(setq header-line-format
(substitute-command-keys
(concat

@ -761,6 +761,8 @@ Python process only create application view when Emacs window or buffer state ch
(defvar-local eaf--bookmark-title nil)
(defvar-local eaf-mindmap--current-add-mode nil)
(defun eaf-browser-restore-buffers ()
"EAF restore all opened EAF Browser buffers in the previous Emacs session.
@ -2002,7 +2004,7 @@ Make sure that your smartphone is connected to the same WiFi network as this com
(eaf-edit-mode)
(set (make-local-variable 'eaf--buffer-id) buffer-id))
(switch-to-buffer edit-text-buffer)
(setq eaf-mindmap--current-add-mode "")
(setq-local eaf-mindmap--current-add-mode "")
(eaf--edit-set-header-line)
(insert focus-text)
;; When text line number above

Loading…
Cancel
Save