From 4f91a8160fe71295b7ad4d6e3f90f004caa3546c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 23 May 2011 14:57:17 -0300 Subject: Don't quote lambda expressions with `quote'. --- lisp/emulation/viper.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lisp/emulation/viper.el') diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index 0da3345aae4..1057eb00cdd 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el @@ -851,19 +851,19 @@ It also can't undo some Viper settings." ;; over misspelled words (due to the overlay keymaps) (defvar flyspell-mode-hook) (add-hook 'flyspell-mode-hook - '(lambda () - (define-key flyspell-mouse-map viper-ESC-key nil))) + (lambda () + (define-key flyspell-mouse-map viper-ESC-key nil))) ;; if viper is started from .emacs, it might be impossible to get certain ;; info about the display and windows until emacs initialization is complete ;; So do it via the window-setup-hook (add-hook 'window-setup-hook - '(lambda () - (modify-frame-parameters - (selected-frame) - (list (cons 'viper-vi-state-cursor-color - (viper-get-cursor-color)))) - (setq viper-vi-state-cursor-color (viper-get-cursor-color)) - )) + (lambda () + (modify-frame-parameters + (selected-frame) + (list (cons 'viper-vi-state-cursor-color + (viper-get-cursor-color)))) + (setq viper-vi-state-cursor-color (viper-get-cursor-color)) + )) ;; Tell vc-diff to put *vc* in Vi mode (eval-after-load -- cgit v1.2.1