Add sphinx class macro.
This commit is contained in:
parent
8c5f224f70
commit
6929aa194c
3
init.el
3
init.el
@ -45,7 +45,7 @@
|
|||||||
scala-mode2 ensime monokai-theme
|
scala-mode2 ensime monokai-theme
|
||||||
gitconfig-mode jedi flymake-cursor pytest
|
gitconfig-mode jedi flymake-cursor pytest
|
||||||
auto-complete project-root popup web-beautify
|
auto-complete project-root popup web-beautify
|
||||||
js2-mode)
|
js2-mode sphinx-doc)
|
||||||
"Packages that must be installed at launch.")
|
"Packages that must be installed at launch.")
|
||||||
|
|
||||||
(defun ensure-package-installed (packages)
|
(defun ensure-package-installed (packages)
|
||||||
@ -242,6 +242,7 @@ Return a list of installed packages or nil for every package not installed."
|
|||||||
;; Macros
|
;; Macros
|
||||||
(fset 'ipdb "import ipdb; ipdb.set_trace()")
|
(fset 'ipdb "import ipdb; ipdb.set_trace()")
|
||||||
(fset 'main "if __name__ == '__main__':")
|
(fset 'main "if __name__ == '__main__':")
|
||||||
|
(fset 'sphinx-class ":class:`~")
|
||||||
|
|
||||||
(global-auto-complete-mode)
|
(global-auto-complete-mode)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user