Browse Source

Add org-edit-special src edit support

pull/15/head
10sr 6 years ago
parent
commit
0328566c38
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      emacs.el

+ 4
- 1
emacs.el View File

@@ -669,7 +669,10 @@ found, otherwise returns nil."
(when (safe-require-or-eval 'editorconfig) (when (safe-require-or-eval 'editorconfig)
;; (set-variable 'editorconfig-get-properties-function ;; (set-variable 'editorconfig-get-properties-function
;; 'editorconfig-core-get-properties-hash) ;; 'editorconfig-core-get-properties-hash)
(editorconfig-mode 1))
(editorconfig-mode 1)
(with-eval-after-load 'org-src
(add-hook 'org-src-mode-hook
'editorconfig-mode-apply t)))


(when (fboundp 'editorconfig-custom-majormode) (when (fboundp 'editorconfig-custom-majormode)
(add-hook 'editorconfig-custom-hooks (add-hook 'editorconfig-custom-hooks


Loading…
Cancel
Save