mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 08:10:21 -08:00
Merge from origin/emacs-29
4520f09dd8; * admin/git-bisect-start: Update failing commits2569ede9c4Update to Org 9.6-81-g563a43d9ed736f0aruby-ts-mode: Remove some currently unused functions4561844720ruby-ts-mode: Highlight singleton method definitions and ...0562006da3Add ruby-ts-mode84e7c2fbc8Fix fontification of C++ reference return types (bug#60441)1864b65af6; Minor fix for treesit--install-language-grammar-1 (bug#...8994f87ad4Adjust function-call fontification in csharp-ts-mode (bug...411647a3f6; Fix NEWS.7b0b17df67Rewrite Antinews in ELisp manual for Emacs 29f12f72b0e0; * lisp/simple.el (primitive-undo): Clarify error messag...7fd822e7f5Update Antinews in the user manual for Emacs 29da77d70dee; * test/lisp/emacs-lisp/copyright-tests.el: Fix and futu...2baf9e107cFix shortdoc-tests failure with respect to regexp-opt-cha...5aeb8de32e; Fix copyright years in 2 more files. # Conflicts: # etc/NEWS
This commit is contained in:
commit
c209802f7b
27 changed files with 1639 additions and 351 deletions
|
|
@ -59,7 +59,8 @@
|
|||
"\nCopyright 2006, 2007, 2008 Foo Bar\n\n")
|
||||
(copyright-update)
|
||||
(buffer-substring (- (point-max) 42) (point-max))))
|
||||
"Copyright 2006, 2007, 2008, 2022 Foo Bar\n\n")))
|
||||
(format "Copyright 2006, 2007, 2008, %s Foo Bar\n\n"
|
||||
(format-time-string "%Y")))))
|
||||
|
||||
(ert-deftest test-correct-notice ()
|
||||
(should (equal
|
||||
|
|
@ -70,7 +71,8 @@
|
|||
(copyright-query nil))
|
||||
(copyright-update))
|
||||
(buffer-string))
|
||||
"Copyright 2021 FSF\nCopyright 2021, 2022 FSF\n")))
|
||||
(format "Copyright 2021 FSF\nCopyright 2021, %s FSF\n"
|
||||
(format-time-string "%Y")))))
|
||||
|
||||
(defmacro with-copyright-fix-years-test (orig result)
|
||||
`(let ((copyright-year-ranges t))
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
(require 'ert)
|
||||
(require 'shortdoc)
|
||||
(require 'subr-x) ; `string-pad' in shortdoc group needed at run time
|
||||
(require 'regexp-opt) ; `regexp-opt-charset' not autoloaded
|
||||
|
||||
(defun shortdoc-tests--tree-contains (tree fun)
|
||||
"Whether TREE contains a call to FUN."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue