From 2b328e563eeee4f09d8c2d59aca7cd179b12aa15 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 1 Jan 2024 19:18:11 -0500 Subject: [PATCH] * yasnippet.el (yas-wrap-around-region): Fix warning Fix placement of `:tag` arg to `const` custom type. --- yasnippet.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yasnippet.el b/yasnippet.el index c25df22..14a1c77 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -1,6 +1,6 @@ ;;; yasnippet.el --- Yet another snippet extension for Emacs -*- lexical-binding: t; -*- -;; Copyright (C) 2008-2023 Free Software Foundation, Inc. +;; Copyright (C) 2008-2024 Free Software Foundation, Inc. ;; Authors: pluskid , ;; João Távora , ;; Noam Postavsky @@ -342,8 +342,8 @@ If non-nil insert region contents. This can be overridden on a per-snippet basis. A value of `cua' is considered equivalent to `?0' for backwards compatibility." :type '(choice (character :tag "Insert from register") - (const t :tag "Insert region contents") - (const nil :tag "Don't insert anything") + (const :tag "Insert region contents" t) + (const :tag "Don't insert anything" nil) (const cua))) ; backwards compat (defcustom yas-good-grace t