summaryrefslogtreecommitdiff
path: root/lisp/kermit.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2019-05-30 13:05:46 +0200
committerEli Zaretskii <eliz@gnu.org>2019-06-09 10:08:33 +0300
commitb7e26952f0f6ee3061b9bb855e36dee8e1ea6bf4 (patch)
tree5cd92b0dc57745a6ef921621037719d5249ba3ba /lisp/kermit.el
parent8c4d114ee200081b0722aa9e008ed2ccbc2ca8dc (diff)
downloademacs-b7e26952f0f6ee3061b9bb855e36dee8e1ea6bf4.tar.gz
Fix TODO to convert defvar with leading '*' to defcustom
* etc/TODO: Remove done TODO to remove '*' from defvar. * doc/misc/gnus.texi: Remove leading '*' from defvar example. * lisp/kermit.el (kermit-esc-char): Convert to defcustom. * lisp/desktop.el (desktop-header): * lisp/obsolete/cc-compat.el (c-indent-level) (c-brace-imaginary-offset, c-brace-offset, c-argdecl-indent) (c-label-offset, c-continued-statement-offset) (c-continued-brace-offset): Remove leading '*' from docstring. * lisp/progmodes/dcl-mode.el: Remove leading '*' from docstring in comment. * test/manual/cedet/tests/test.el: Add comment asking if example of defvar with leading '*' should be removed. (Bug#35994) (The previous commit is also for the same bug.)
Diffstat (limited to 'lisp/kermit.el')
-rw-r--r--lisp/kermit.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/kermit.el b/lisp/kermit.el
index f6ed1fbda1c..ec5d91749c4 100644
--- a/lisp/kermit.el
+++ b/lisp/kermit.el
@@ -77,7 +77,13 @@
(require 'shell)
-(defvar kermit-esc-char "\C-\\" "*Kermit's escape char.")
+(defgroup kermit nil
+ "Kermit support."
+ :group 'comm)
+
+(defcustom kermit-esc-char "\C-\\"
+ "Kermit's escape char."
+ :type 'string)
(defun kermit-esc ()
"For sending escape sequences to a kermit running in shell mode."