X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/1099930585662f32278796f9943ac8b50a1179f1..85ba4cded3ef5a834c880edfdb6cf7ec3a747e9b:/lisp/emulation/viper-util.el diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 1ad24da1ef..24a3823617 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el @@ -1,7 +1,6 @@ ;;; viper-util.el --- Utilities used by viper.el -;; Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, -;; 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 1994-1997, 1999-2011 Free Software Foundation, Inc. ;; Author: Michael Kifer ;; Package: viper @@ -77,7 +76,7 @@ (defalias 'viper-int-to-char (if (featurep 'xemacs) 'int-to-char 'identity)) (defalias 'viper-get-face - (if (featurep 'xemacs) 'get-face 'internal-get-face)) + (if (featurep 'xemacs) 'get-face 'facep)) (defalias 'viper-color-defined-p (if (featurep 'xemacs) 'valid-color-name-p 'x-color-defined-p)) (defalias 'viper-iconify @@ -1081,7 +1080,7 @@ Otherwise return the normal value." char-p (= (length base-key-name) 1)) (setq mod-char-list (mapcar - '(lambda (elt) (upcase (substring (symbol-name elt) 0 1))) + (lambda (elt) (upcase (substring (symbol-name elt) 0 1))) modifiers)) (if char-p (setq key-name @@ -1154,7 +1153,7 @@ Otherwise return the normal value." ;; XEmacs only (defun viper-event-vector-p (vec) (and (vectorp vec) - (eval (cons 'and (mapcar '(lambda (elt) (if (eventp elt) t)) vec))))) + (eval (cons 'and (mapcar (lambda (elt) (if (eventp elt) t)) vec))))) ;; check if vec is a vector of character symbols @@ -1240,7 +1239,7 @@ Arguments become related buffers. This function should normally be used in the `Local variables' section of a file." (setq viper-related-files-and-buffers-ring (make-ring (1+ (length other-files-or-buffers)))) - (mapc '(lambda (elt) + (mapc (lambda (elt) (viper-ring-insert viper-related-files-and-buffers-ring elt)) other-files-or-buffers) (viper-ring-insert viper-related-files-and-buffers-ring (buffer-name)) @@ -1555,5 +1554,4 @@ This option is appropriate if you like Emacs-style words." ;; eval: (put 'viper-deflocalvar 'lisp-indent-hook 'defun) ;; End: -;; arch-tag: 7f023fd5-dd9e-4378-a397-9c179553b0e3 ;;; viper-util.el ends here