summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2013-12-03 00:27:25 (GMT)
committerRavikiran Rajagopal <ravi@nero.lan>2013-12-03 00:27:25 (GMT)
commitdab858a6733d059bc0a3561af2f953e44b23a737 (patch)
treed60843fe340f189903f1862823c8799def4cfd82
parente2dd56b830f344ccec20093a9437307ccbc0f985 (diff)
downloaddotemacs-dab858a6733d059bc0a3561af2f953e44b23a737.zip
dotemacs-dab858a6733d059bc0a3561af2f953e44b23a737.tar.gz
dotemacs-dab858a6733d059bc0a3561af2f953e44b23a737.tar.bz2
Add doxymacs from git
-rw-r--r--.gitmodules3
-rw-r--r--ravi-init-cpp.el12
m---------site-lisp/doxymacs0
3 files changed, 10 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..3ca4296
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "site-lisp/doxymacs"]
+ path = site-lisp/doxymacs
+ url = git://git.code.sf.net/p/doxymacs/code
diff --git a/ravi-init-cpp.el b/ravi-init-cpp.el
index 94cf6a8..84c98bc 100644
--- a/ravi-init-cpp.el
+++ b/ravi-init-cpp.el
@@ -98,7 +98,7 @@
:init
(progn
(use-package doxymacs
- ;:ensure t
+ :load-path ,(ravi/emacs-file "site-lisp/doxymacs/lisp")
:init
(progn
(doxymacs-mode)
@@ -110,6 +110,8 @@
(p "Brief description of this file: ") > n
" */" > n)
)
+ (setq doxymacs-external-xml-parser-executable
+ (ravi/emacs-file "site-lisp/doxymacs/c/doxymacs_parser"))
(setq doxymacs-use-external-xml-parser t)
(setq doxymacs-command-character "\\")
)
@@ -143,8 +145,8 @@
;(auto-complete-mode 1)
;(bind-key "<A-tab>" 'ac-complete c-mode-base-map)
- ;;(doxymacs-mode 1)
- ;;(doxymacs-font-lock)
+ (doxymacs-mode 1)
+ (doxymacs-font-lock)
;(define-key c-mode-base-map [return] 'c-context-line-break)
(bind-key "<return>" 'newline-and-indent c-mode-base-map)
@@ -249,7 +251,7 @@ this to 3 makes header-protection define KIG_MISC_NEWTYPE_H for a file named
(end-of-buffer)
(next-line -3)
(insert "\n")
- ;(doxymacs-insert-file-comment)
+ (doxymacs-insert-file-comment)
)
(setq auto-insert-query nil)
@@ -275,7 +277,7 @@ this to 3 makes header-protection define KIG_MISC_NEWTYPE_H for a file named
(defun ravi-auto-insert-cpp ()
(progn
(ravi-license-insert)
- ;(doxymacs-insert-file-comment)
+ (doxymacs-insert-file-comment)
)
)
)
diff --git a/site-lisp/doxymacs b/site-lisp/doxymacs
new file mode 160000
+Subproject 914d5cc98129d224e15bd68c39ec8836830b08a