emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/inspector b609289074 20/93: Housekeeping


From: ELPA Syncer
Subject: [elpa] externals/inspector b609289074 20/93: Housekeeping
Date: Tue, 24 May 2022 18:57:56 -0400 (EDT)

branch: externals/inspector
commit b6092890745cfebd588035f38b46f45480418f3d
Author: Mariano Montone <marianomontone@gmail.com>
Commit: Mariano Montone <marianomontone@gmail.com>

    Housekeeping
---
 inspector.el | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/inspector.el b/inspector.el
index 9885933608..e4a8dd6a2e 100644
--- a/inspector.el
+++ b/inspector.el
@@ -1,4 +1,25 @@
-;;; emacs-inspector.el --- Inspector for Emacs Lisp objects  -*- 
lexical-binding: t -*-
+;;; inspector.el --- Emacs Lisp objects inspector.  -*- lexical-binding: t -*-
+
+;; Copyright (C) 2021 Mariano Montone
+
+;; Author: Mariano Montone <marianomontone@gmail.com>
+;; URL: https://github.com/mmontone/slime-doc-contribs
+;; Keywords: help, lisp, slime, common-lisp
+;; Version: 0.1
+;; Package-Requires: ((emacs "25"))
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 ;;; Commentary:
 
@@ -39,13 +60,16 @@
     plist))
 
 (defun inspector--insert-horizontal-line (&rest width)
+  "Insert an horizontal line with width WIDTH."
   (insert (make-string (or width 80) ?\u2500)))
 
 (defun inspector--insert-property (property-name)
+  "Insert an inspector property."
   (insert property-name)
   (insert ": "))
 
 (defun inspector--insert-title (title)
+  "Insert title for inspector."
   (insert title)
   (newline)
   (inspector--insert-horizontal-line)
@@ -244,6 +268,7 @@ When ADD-TO-HISTORY is T, OBJECT is added to inspector 
history for navigation pu
         (locals (backtrace--locals nframe base)))
     (inspector-inspect (alist-to-plist locals))))
 
+;; Press letter 'i' in debugger backtrace to inspect locals.
 (define-key debugger-mode-map (kbd "i") 'debugger-inspect-locals)
 
 (defgroup inspector nil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]