mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
* yasnippet.el (yas-wrap-around-region): Fix warning
Fix placement of `:tag` arg to `const` custom type.
This commit is contained in:
parent
9596631bde
commit
2b328e563e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user