From f046b0098350623438abc2ef15319321c08f01da Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Sat, 12 Mar 2022 02:27:53 -0500 Subject: [PATCH] hyperspec: allow customize for hyperspec vars --- lib/hyperspec.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/hyperspec.el b/lib/hyperspec.el index da4a9f375..479bc27de 100644 --- a/lib/hyperspec.el +++ b/lib/hyperspec.el @@ -38,21 +38,25 @@ (require 'browse-url) ;you need the Emacs 20 version (require 'thingatpt) -(defvar common-lisp-hyperspec-root +(defcustom common-lisp-hyperspec-root "http://www.lispworks.com/reference/HyperSpec/" "The root of the Common Lisp HyperSpec URL. If you copy the HyperSpec to your local system, set this variable to -something like \"file://usr/local/doc/HyperSpec/\".") +something like \"file://usr/local/doc/HyperSpec/\"." + :type 'string + :group 'slime) ;;; Added variable for CLHS symbol table. See details below. ;;; ;;; 20011201 Edi Weitz -(defvar common-lisp-hyperspec-symbol-table nil +(defcustom common-lisp-hyperspec-symbol-table nil "The HyperSpec symbol table file. If you copy the HyperSpec to your local system, set this variable to the location of the symbol table which is usually \"Map_Sym.txt\" -or \"Symbol-Table.text\".") +or \"Symbol-Table.text\"." + :type 'string + :group 'slime) (defvar common-lisp-hyperspec-history nil "History of symbols looked up in the Common Lisp HyperSpec.")