]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-quote): Remove function since it has been moved to custom.el.
authorEli Zaretskii <eliz@gnu.org>
Fri, 3 Mar 2006 12:23:29 +0000 (12:23 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 3 Mar 2006 12:23:29 +0000 (12:23 +0000)
lisp/ChangeLog
lisp/cus-edit.el

index 88bcf6f98c1a31f8db54e73a7a5e63ef9070b9a7..4eabd34743d7db05499cdd2c5b48691abd3f7825 100644 (file)
@@ -1,5 +1,8 @@
 2006-03-03  Martin Rudalics  <rudalics@gmx.at>
 
+       * cus-edit.el (custom-quote): Remove function, since it has been
+       moved to custom.el.
+
        * font-lock.el (lisp-font-lock-keywords-2)
        * emacs-lisp/rx.el (rx-check-any, rx-check-not)
        * generic-x.el (reg-generic-mode): Quote "]"s in regexps when
index feacc9adf0db1622ec1067ea761673d53cad3706..60705b3055292243c92ad2836024bb35cfbaba3c 100644 (file)
 
 ;;; Utilities.
 
-(defun custom-quote (sexp)
-  "Quote SEXP iff it is not self quoting."
-  (if (or (memq sexp '(t nil))
-         (keywordp sexp)
-         (and (listp sexp)
-              (memq (car sexp) '(lambda)))
-         (stringp sexp)
-         (numberp sexp)
-         (vectorp sexp)
-;;;      (and (fboundp 'characterp)
-;;;           (characterp sexp))
-         )
-      sexp
-    (list 'quote sexp)))
-
 (defun custom-split-regexp-maybe (regexp)
   "If REGEXP is a string, split it to a list at `\\|'.
 You can get the original back with from the result with: