diff options
Diffstat (limited to 'init.el')
-rwxr-xr-x | init.el | 46 |
1 files changed, 0 insertions, 46 deletions
@@ -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 |