emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/yasnippet 2b328e563e 2/6: * yasnippet.el (yas-wrap-arou


From: ELPA Syncer
Subject: [elpa] externals/yasnippet 2b328e563e 2/6: * yasnippet.el (yas-wrap-around-region): Fix warning
Date: Mon, 1 Jan 2024 21:59:06 -0500 (EST)

branch: externals/yasnippet
commit 2b328e563eeee4f09d8c2d59aca7cd179b12aa15
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * 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 <pluskid@gmail.com>,
 ;;          João Távora <joaotavora@gmail.com>,
 ;;          Noam Postavsky <npostavs@gmail.com>
@@ -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

[Prev in Thread] Current Thread [Next in Thread]