Browse Source

load PKGBUILD-mode when available

pull/1/head
10sr 12 years ago
parent
commit
f1684eb7dc
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el View File

@@ -648,6 +648,11 @@ drill-instructor.el"
("PKGBUILD\\'" . sh-mode)
,@auto-mode-alist))

(when (locate-library "pkgbuild-mode")
(autoload 'pkgbuild-mode "pkgbuild-mode.el" "PKGBUILD mode." t)
(setq auto-mode-alist (append '(("/PKGBUILD$" . pkgbuild-mode))
auto-mode-alist)))

(setq python-python-command (or (executable-find "python3")
(executable-find "python")))
(defun my-python-run-as-command ()


Loading…
Cancel
Save