unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48513: 28.0.50; define hs-set-up-overlay with defcustom instead of defvar
@ 2021-05-19  2:19 Zhiwei Chen
  2021-05-25 20:31 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Zhiwei Chen @ 2021-05-19  2:19 UTC (permalink / raw)
  To: 48513; +Cc: condy0919@gmail.com

[-- Attachment #1: Type: text/plain, Size: 142 bytes --]

According to the docstring of hs-set-up-overlay, it can be customizable. So defcustom is more meaningful than defvar.

--
Zhiwei Chen



[-- Attachment #2: Type: text/html, Size: 1182 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#48513: 28.0.50; define hs-set-up-overlay with defcustom instead of defvar
  2021-05-19  2:19 bug#48513: 28.0.50; define hs-set-up-overlay with defcustom instead of defvar Zhiwei Chen
@ 2021-05-25 20:31 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-25 20:31 UTC (permalink / raw)
  To: Zhiwei Chen; +Cc: 48513, condy0919@gmail.com

Zhiwei Chen <chenzhiwei03@kuaishou.com> writes:

> According to the docstring of hs-set-up-overlay, it can be
> customizable. So defcustom is more meaningful than defvar.

Make sense to me, so I've now done this in Emacs 28.  (There's a few
other variables in hideshow that perhaps also should be converted...)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-25 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19  2:19 bug#48513: 28.0.50; define hs-set-up-overlay with defcustom instead of defvar Zhiwei Chen
2021-05-25 20:31 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).