diff options
| author | Stefan Kangas | 2022-12-27 18:12:02 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-12-27 18:16:58 +0100 |
| commit | efc44727daaee4d3f9aeb19864074472e99b296a (patch) | |
| tree | e4969356fb5961b3a81d6ea0694500aeab0dc3aa /test | |
| parent | fb0ff54eb45ba9fc939d07740c895ed2ef58c406 (diff) | |
| download | emacs-efc44727daaee4d3f9aeb19864074472e99b296a.tar.gz emacs-efc44727daaee4d3f9aeb19864074472e99b296a.zip | |
Support Apache License 2.0 in elide-head-mode
* lisp/elide-head.el (elide-head-headers-to-hide): Add the Apache
License, Version 2.0.
* test/lisp/elide-head-tests.el (apache1-1): New test.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/elide-head-tests.el | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/lisp/elide-head-tests.el b/test/lisp/elide-head-tests.el index 293fb0dc09d..3d6e7686935 100644 --- a/test/lisp/elide-head-tests.el +++ b/test/lisp/elide-head-tests.el | |||
| @@ -285,6 +285,28 @@ | |||
| 285 | " "This program is distributed in the hope that") | 285 | " "This program is distributed in the hope that") |
| 286 | 286 | ||
| 287 | 287 | ||
| 288 | ;;; Apache License | ||
| 289 | |||
| 290 | (elide-head--add-test apache1-1 "\ | ||
| 291 | /* | ||
| 292 | * Copyright 2011-2016 The Pkcs11Interop Project | ||
| 293 | * | ||
| 294 | * Licensed under the Apache License, Version 2.0 (the \"License\"); | ||
| 295 | * you may not use this file except in compliance with the License. | ||
| 296 | * You may obtain a copy of the License at | ||
| 297 | * | ||
| 298 | * https://www.apache.org/licenses/LICENSE-2.0 | ||
| 299 | * | ||
| 300 | * Unless required by applicable law or agreed to in writing, software | ||
| 301 | * distributed under the License is distributed on an \"AS IS\" BASIS, | ||
| 302 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 303 | * See the License for the specific language governing permissions and | ||
| 304 | * limitations under the License. | ||
| 305 | */ | ||
| 306 | " "Unless required by applicable law") | ||
| 307 | |||
| 308 | |||
| 309 | |||
| 288 | ;;; Obsolete | 310 | ;;; Obsolete |
| 289 | 311 | ||
| 290 | (with-suppressed-warnings ((obsolete elide-head) | 312 | (with-suppressed-warnings ((obsolete elide-head) |