]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous object-print/cl-print-object changes
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jun 2019 14:57:35 +0000 (16:57 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jun 2019 14:57:35 +0000 (16:57 +0200)
* lisp/cedet/srecode/insert.el
(srecode-insert-variable-secondname-handler):
* lisp/cedet/semantic/decorate/include.el
(semantic-decoration-fileless-include-describe):
(semantic-decoration-all-include-summary):
* lisp/cedet/semantic/db-find.el (semanticdb-find-log-activity):
* lisp/cedet/semantic/bovine/c.el
(semantic-c-describe-environment):
* lisp/cedet/semantic/analyze/debug.el
(semantic-analyzer-debug-insert-include-summary): Fix previous
object-print/cl-print-object changes that were nonsensical.

lisp/cedet/semantic/analyze/debug.el
lisp/cedet/semantic/bovine/c.el
lisp/cedet/semantic/db-find.el
lisp/cedet/semantic/decorate/include.el
lisp/cedet/srecode/insert.el

index f54f6d4250ae3321e77185bac3822c2ef31dd8c5..1bb97ce9b8316df3759acab43ac9a86fb3ca52a7 100644 (file)
@@ -409,16 +409,16 @@ or implementing a version specific to ")
        (princ (substitute-command-keys
                "\n\nThis file's project include search is handled by the EDE object:\n"))
        (princ "  Buffer Target:  ")
-       (princ (cl-print-object edeobj))
+       (princ (cl-prin1-to-string edeobj))
        (princ "\n")
        (when (not (eq edeobj edeproj))
          (princ "  Buffer Project: ")
-         (princ (cl-print-object edeproj))
+         (princ (cl-prin1-to-string edeproj))
          (princ "\n"))
        (when edeproj
          (let ((loc (ede-get-locator-object edeproj)))
            (princ "  Backup Locator: ")
-           (princ (cl-print-object loc))
+           (princ (cl-prin1-to-string loc))
            (princ "\n")))
        )
 
index 06c77c79285c2b9cea7a9b1e8c1e40ce03cf7fd6..b05082c60ef7f124a4b708237b6111abd63ac81f 100644 (file)
@@ -2183,7 +2183,7 @@ actually in their parent which is not accessible.")
                      (list ede-object))))
          (dolist (O objs)
            (princ "    EDE : ")
-           (princ (cl-print-object O))
+           (princ 0)
            (let ((ipath (ede-system-include-path O)))
              (if (not ipath)
                  (princ "\n     with NO specified system include path.\n")
@@ -2221,7 +2221,7 @@ actually in their parent which is not accessible.")
          (princ "    in table: ")
          (let ((fto (semanticdb-file-table-object file)))
            (if fto
-               (princ (cl-print-object fto))
+               (princ (cl-prin1-to-string fto))
              (princ "No Table")))
          (princ "\n")
          ))
@@ -2251,7 +2251,7 @@ actually in their parent which is not accessible.")
        (princ "\n  Project symbol map:\n")
        (when (and (boundp 'ede-object) ede-object)
          (princ "      Your project symbol map is also derived from the EDE object:\n      ")
-         (princ (cl-print-object ede-object)))
+         (princ (cl-prin1-to-string ede-object)))
        (princ "\n\n")
        (if (obarrayp semantic-lex-spp-project-macro-symbol-obarray)
            (let ((macros nil))
index fd6951b59df25ab4778403cf81c063f6bf770561..084085e656ae1295166fb135a049de6afce9f60f 100644 (file)
@@ -1085,7 +1085,7 @@ Returns result."
   "Log that TABLE has been searched and RESULT was found."
   (when semanticdb-find-log-flag
     (with-current-buffer semanticdb-find-log-buffer-name
-      (insert "Table: " (cl-print-object table)
+      (insert "Table: " (cl-prin1-to-string table)
              " Result: " (int-to-string (length result)) " tags"
              "\n")
       )
index a8f3f2a87d18e077721328123b825df5d5ca3e28..8a356fc2932ef8b6e66ba36b846a95aa9125be82 100644 (file)
@@ -595,7 +595,7 @@ on disk, but a database table of tags has been associated with it.
 This means that the include will still be used to find tags for
 searches, but you cannot visit this include.\n\n")
       (princ "This Header is now represented by the following database table:\n\n  ")
-      (princ (cl-print-object table))
+      (princ (cl-prin1-to-string table))
       )))
 
 (defun semantic-decoration-fileless-include-menu (event)
@@ -749,17 +749,17 @@ Argument EVENT describes the event that caused this function to be called."
        (princ (substitute-command-keys
                "  This file's project include search is handled by the EDE object:\n"))
        (princ "    Buffer Target:  ")
-       (princ (cl-print-object ede-object))
+       (princ (cl-prin1-to-string ede-object))
        (princ "\n")
        (when (not (eq ede-object ede-object-project))
          (princ "    Buffer Project: ")
-         (princ (cl-print-object ede-object-project))
+         (princ (cl-prin1-to-string ede-object-project))
          (princ "\n")
          )
        (when ede-object-project
          (let ((loc (ede-get-locator-object ede-object-project)))
            (princ "    Backup in-project Locator: ")
-           (princ (cl-print-object loc))
+           (princ (cl-prin1-to-string loc))
            (princ "\n")))
        (let ((syspath (ede-system-include-path ede-object-project)))
          (if (not syspath)
index 53518cd20dd22eb90b4d7076d8301d523a47a0be..5eb2edd067f74eb4bcb70c5d76e198441c1446c6 100644 (file)
@@ -464,7 +464,7 @@ If SECONDNAME is nil, return VALUE."
          (srecode-insert-report-error
           dictionary
           "Variable inserter %s: second argument `%s' is not a function"
-          (cl-print-object sti) secondname)))
+          (cl-prin1-to-string sti) secondname)))
     value))
 
 (cl-defmethod srecode-insert-method ((sti srecode-template-inserter-variable)