branch: externals/yasnippet
commit 2b328e563eeee4f09d8c2d59aca7cd179b12aa15
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>

    * 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 c25df22266..14a1c77808 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 <[email protected]>,
 ;;          João Távora <[email protected]>,
 ;;          Noam Postavsky <[email protected]>
@@ -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

Reply via email to