summaryrefslogtreecommitdiff
path: root/lisp/elide-head.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-01-03 07:52:55 +0100
committerStefan Kangas <stefan@marxist.se>2022-01-03 07:52:55 +0100
commitd8959347d918f3f725d38094bdb90d7f923d9edb (patch)
treef4d4bea2c6b8df0873c9910e317bac80ac81b585 /lisp/elide-head.el
parent8d6a8f660d13052991f398b220810efea1ae118a (diff)
downloademacs-d8959347d918f3f725d38094bdb90d7f923d9edb.tar.gz
* lisp/elide-head.el (elide-head-headers-to-hide): Simplify.
Diffstat (limited to 'lisp/elide-head.el')
-rw-r--r--lisp/elide-head.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/lisp/elide-head.el b/lisp/elide-head.el
index 79af01bd480..619d350c803 100644
--- a/lisp/elide-head.el
+++ b/lisp/elide-head.el
@@ -55,17 +55,14 @@
"\\(If not, see <https?://www\\.gnu\\.org/licenses/>\\|\
Boston, MA 0211\\(1-1307\\|0-1301\\), USA\\|\
675 Mass Ave, Cambridge, MA 02139, USA\\)\\.")
- ;; FreeBSD license
+ ;; FreeBSD license / Modified BSD license (3-clause)
(,(rx (or "The Regents of the University of California. All rights reserved."
"Redistribution and use in source and binary"))
- . "THE POSSIBILITY OF SUCH DAMAGE\\.")
+ . "POSSIBILITY OF SUCH DAMAGE\\.")
;; X11 and Expat
("Permission is hereby granted, free of charge" .
- ,(rx (or "authorization from the X Consortium." ; X11
- "THE USE OR OTHER DEALINGS IN THE SOFTWARE."))) ; Expat
- ;; Modified BSD license (3-clause)
- ("Redistribution and use in source and binary forms"
- . "POSSIBILITY OF SUCH DAMAGE\\."))
+ ,(rx (or "authorization from the X Consortium." ; X11
+ "THE USE OR OTHER DEALINGS IN THE SOFTWARE.")))) ; Expat
"Alist of regexps defining start and end of text to elide.
The cars of elements of the list are searched for in order. Text is