summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2013-02-13 17:49:42 +0000
committerdakkar <dakkar@thenautilus.net>2013-02-13 17:49:42 +0000
commitec8770230173d41b0f304e91a9cf11b7e99d19c5 (patch)
tree95fde06a175cacf5fc18bb522dbfbed99be40ab0
parentadded PerlySense integration (diff)
downloademacs-ec8770230173d41b0f304e91a9cf11b7e99d19c5.tar.gz
emacs-ec8770230173d41b0f304e91a9cf11b7e99d19c5.tar.bz2
emacs-ec8770230173d41b0f304e91a9cf11b7e99d19c5.zip
I never really used perlysense
-rwxr-xr-xinit.el46
1 files changed, 0 insertions, 46 deletions
diff --git a/init.el b/init.el
index 601179c..88b3eb1 100755
--- a/init.el
+++ b/init.el
@@ -239,49 +239,3 @@
; change dictionary with a single key
(global-set-key [XF86Launch5] (lambda () (interactive) (ispell-change-dictionary "italiano")))
(global-set-key [XF86MenuKB] (lambda () (interactive) (ispell-change-dictionary "en_GB")))
-
-; PerlySense
-;; *** PerlySense Config ***
-
-;; ** PerlySense **
-(setq ps/external-dir (shell-command-to-string "perly_sense external_dir"))
-(if (string-match "Devel.PerlySense.external" ps/external-dir)
- (progn
- (message
- "PerlySense elisp files at (%s) according to perly_sense, loading..."
- ps/external-dir)
- (setq load-path (cons
- (expand-file-name
- (format "%s/%s" ps/external-dir "emacs")
- ) load-path))
- ;; The PerlySense prefix key (unset only if needed, like for \C-o)
- (global-unset-key "\C-o")
- (setq ps/key-prefix "\C-o")
- ;; ** Flymake **
- ;; Load flymake if t
- (setq ps/load-flymake t)
- ;; *** PerlySense load (don't touch) ***
- (load "perly-sense")
- ;; ** Flymake Config **
- ;; If you only want syntax check whenever you save, not continously
- (setq flymake-no-changes-timeout 9999)
- (setq flymake-start-syntax-check-on-newline nil)
- ;; ** Code Coverage Visualization **
- ;; If you have a Devel::CoverX::Covered database handy and want to
- ;; display the sub coverage in the source, set this to t
- (setq ps/enable-test-coverage-visualization nil)
- ;; ** Color Config **
- ;; The following colors work fine with a white X11
- ;; background. They may not look that great on a console with the
- ;; default color scheme.
- (set-face-background 'flymake-errline "OrangeRed1")
- (set-face-background 'flymake-warnline "blue1")
- (set-face-background 'dropdown-list-face "lightgrey")
- (set-face-background 'dropdown-list-selection-face "grey")
- ;; ** Misc Config **
- ;; Run calls to perly_sense as a prepared shell command. Experimental
- ;; optimization, please try it out.
- (setq ps/use-prepare-shell-command t)
- )
-)
-;; *** PerlySense End *** \ No newline at end of file