Instead of "
<s and company too fast ,use abbrev isrc and ijava in org-mode for Literate programming.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| (setq-default abbrev-mode t)
(define-skeleton 1src "Input src" "" "#+BEGIN_SRC emacs-lisp \n" _ "\n" "#+END_SRC") (define-skeleton 1java "Input src" "" "#+HEADER: :classname\n" "#+BEGIN_SRC java \n" _ "\n" "#+END_SRC") (define-abbrev org-mode-abbrev-table "isrc" "" '1src) (define-abbrev org-mode-abbrev-table "ijava" "" '1java)
|