comparison lisp/emacs-lisp/lisp-mode.el @ 63988:7f1acc9f0399

(eval-defun-1): Remove unnecessary quotes.
author Juri Linkov <juri@jurta.org>
date Mon, 04 Jul 2005 01:05:56 +0000
parents 9c5c3700b037
children 18a818a2ee7c
comparison
equal deleted inserted replaced
63987:56d2561b1c9f 63988:7f1acc9f0399
629 ;; buffer, thus allowing `face-user-default-spec' to use the 629 ;; buffer, thus allowing `face-user-default-spec' to use the
630 ;; new customized spec instead of the saved spec. 630 ;; new customized spec instead of the saved spec.
631 ;; Resetting `saved-face' temporarily to nil is needed to let 631 ;; Resetting `saved-face' temporarily to nil is needed to let
632 ;; `defface' change the spec, regardless of a saved spec. 632 ;; `defface' change the spec, regardless of a saved spec.
633 (prog1 `(prog1 ,form 633 (prog1 `(prog1 ,form
634 (put ',(eval (nth 1 form)) 'saved-face 634 (put ,(nth 1 form) 'saved-face
635 ',(get (eval (nth 1 form)) 'saved-face)) 635 ',(get (eval (nth 1 form)) 'saved-face))
636 (put ',(eval (nth 1 form)) 'customized-face 636 (put ,(nth 1 form) 'customized-face
637 ',(eval (nth 2 form)))) 637 ,(nth 2 form)))
638 (put (eval (nth 1 form)) 'saved-face nil))) 638 (put (eval (nth 1 form)) 'saved-face nil)))
639 ((eq (car form) 'progn) 639 ((eq (car form) 'progn)
640 (cons 'progn (mapcar 'eval-defun-1 (cdr form)))) 640 (cons 'progn (mapcar 'eval-defun-1 (cdr form))))
641 (t form))) 641 (t form)))
642 642