mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 05:03:04 +00:00
yasnippet.el: Bump version to trigger release
* yasnippet-tests.el (string-suffix-p): Remove fallback definition.
This commit is contained in:
parent
272b6067f1
commit
dd570a6b22
3
NEWS
3
NEWS
@ -1,10 +1,11 @@
|
|||||||
Yasnippet NEWS -- history of user-visible changes.
|
Yasnippet NEWS -- history of user-visible changes.
|
||||||
|
|
||||||
Copyright (C) 2017-2024 Free Software Foundation, Inc.
|
Copyright (C) 2017-2025 Free Software Foundation, Inc.
|
||||||
See the end of the file for license conditions.
|
See the end of the file for license conditions.
|
||||||
|
|
||||||
Changes since 0.14.0:
|
Changes since 0.14.0:
|
||||||
|
|
||||||
|
- Silence warning about missing lexical-binding cookie.
|
||||||
- Bug fixes and code cleanups.
|
- Bug fixes and code cleanups.
|
||||||
- Accept ${N} as another syntax for $N (issue #1012).
|
- Accept ${N} as another syntax for $N (issue #1012).
|
||||||
- Understand the new AUCTeX modes hierarchy (issue #1193).
|
- Understand the new AUCTeX modes hierarchy (issue #1193).
|
||||||
|
@ -138,17 +138,6 @@ This lets `yas--maybe-expand-from-keymap-filter' work as expected."
|
|||||||
;;; Older emacsen
|
;;; Older emacsen
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
(unless (fboundp 'string-suffix-p)
|
|
||||||
;; introduced in Emacs 24.4
|
|
||||||
(defun string-suffix-p (suffix string &optional ignore-case)
|
|
||||||
"Return non-nil if SUFFIX is a suffix of STRING.
|
|
||||||
If IGNORE-CASE is non-nil, the comparison is done without paying
|
|
||||||
attention to case differences."
|
|
||||||
(let ((start-pos (- (length string) (length suffix))))
|
|
||||||
(and (>= start-pos 0)
|
|
||||||
(eq t (compare-strings suffix nil nil
|
|
||||||
string start-pos nil ignore-case))))))
|
|
||||||
|
|
||||||
|
|
||||||
;;; Snippet mechanics
|
;;; Snippet mechanics
|
||||||
|
|
||||||
@ -1735,7 +1724,7 @@ TODO: be meaner"
|
|||||||
(org-mode)
|
(org-mode)
|
||||||
(yas-minor-mode 1)
|
(yas-minor-mode 1)
|
||||||
(insert "#+BEGIN_SRC " mode "\nT\n#+END_SRC")
|
(insert "#+BEGIN_SRC " mode "\nT\n#+END_SRC")
|
||||||
(if (fboundp 'font-lock-ensure)
|
(if (fboundp 'font-lock-ensure) ;Emacs≥25
|
||||||
(font-lock-ensure)
|
(font-lock-ensure)
|
||||||
(jit-lock-fontify-now))
|
(jit-lock-fontify-now))
|
||||||
(re-search-backward "^T$") (goto-char (match-end 0))
|
(re-search-backward "^T$") (goto-char (match-end 0))
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
;; João Távora <joaotavora@gmail.com>,
|
;; João Távora <joaotavora@gmail.com>,
|
||||||
;; Noam Postavsky <npostavs@gmail.com>
|
;; Noam Postavsky <npostavs@gmail.com>
|
||||||
;; Maintainer: Noam Postavsky <npostavs@gmail.com>
|
;; Maintainer: Noam Postavsky <npostavs@gmail.com>
|
||||||
;; Version: 0.14.2
|
;; Version: 0.14.3
|
||||||
;; X-URL: http://github.com/joaotavora/yasnippet
|
;; X-URL: http://github.com/joaotavora/yasnippet
|
||||||
;; Keywords: convenience, emulation
|
;; Keywords: convenience, emulation
|
||||||
;; URL: http://github.com/joaotavora/yasnippet
|
;; URL: http://github.com/joaotavora/yasnippet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user