From 370e04fbb206c59c6a2251dc54f69c61887f60cc Mon Sep 17 00:00:00 2001 From: Mark Oteiza Date: Mon, 11 Sep 2017 22:20:41 -0400 Subject: [PATCH] Add cl-print method for hash tables * lisp/emacs-lisp/cl-print.el (cl-print-object): New method. --- lisp/emacs-lisp/cl-print.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lisp/emacs-lisp/cl-print.el b/lisp/emacs-lisp/cl-print.el index fec5e868d63..eb50d756879 100644 --- a/lisp/emacs-lisp/cl-print.el +++ b/lisp/emacs-lisp/cl-print.el @@ -78,6 +78,16 @@ call other entry points instead, such as `cl-prin1'." (cl-print-object (aref object i) stream)) (princ "]" stream)) +(cl-defmethod cl-print-object ((object hash-table) stream) + (princ "#" stream)) + (define-button-type 'help-byte-code 'follow-link t 'action (lambda (button) -- 2.39.2