Add the pony settings to init.org
Oops
This commit is contained in:
parent
a0519f51c9
commit
0f8c30d16e
1 changed files with 25 additions and 0 deletions
|
@ -1304,6 +1304,31 @@
|
||||||
(add-hook 'haml-mode-hook #'hl-indent-mode)
|
(add-hook 'haml-mode-hook #'hl-indent-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** Django helper
|
||||||
|
:PROPERTIES:
|
||||||
|
:ORDERED: t
|
||||||
|
:END:
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp :tangle no
|
||||||
|
(depends-on "pony-mode")
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
Autoload =pony-mode= because it doesn't come with an autoload cookie.
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(autoload 'pony-mode "pony-mode" nil t)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
Turn on =compilation-shell-minor-mode= when =pony-mode= is enabled.
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(defun oni:turn-on-compilation-shell-for-pony ()
|
||||||
|
"Turn on option `compilation-shell-minor-mode' for `pony-minor-mode'."
|
||||||
|
(add-hook 'pony-minor-mode-hook 'compilation-shell-minor-mode nil t))
|
||||||
|
|
||||||
|
(add-hook 'comint-mode-hook #'oni:turn-on-compilation-shell-for-pony)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Use Conkeror to browse URLs
|
* Use Conkeror to browse URLs
|
||||||
|
|
||||||
Use the generic browse-url function to open URLs in Conkeror.
|
Use the generic browse-url function to open URLs in Conkeror.
|
||||||
|
|
Loading…
Reference in a new issue