diff options
| -rw-r--r-- | lisp/elide-head.el | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/lisp/elide-head.el b/lisp/elide-head.el index d2e3ac6a996..30772fa514b 100644 --- a/lisp/elide-head.el +++ b/lisp/elide-head.el | |||
| @@ -50,13 +50,16 @@ | |||
| 50 | :group 'tools) | 50 | :group 'tools) |
| 51 | 51 | ||
| 52 | (defcustom elide-head-headers-to-hide | 52 | (defcustom elide-head-headers-to-hide |
| 53 | '(("is free software[:;] you can redistribute it" . ; GNU boilerplate | 53 | `(("is free software[:;] you can redistribute it" . ; GNU boilerplate |
| 54 | "\\(Boston, MA 0211\\(1-1307\\|0-1301\\), USA\\|\ | 54 | "\\(If not, see <https?://www\\.gnu\\.org/licenses/>\\|\ |
| 55 | If not, see <https?://www\\.gnu\\.org/licenses/>\\)\\.") | 55 | Boston, MA 0211\\(1-1307\\|0-1301\\), USA\\|\ |
| 56 | ("The Regents of the University of California\\. All rights reserved\\." . | 56 | 675 Mass Ave, Cambridge, MA 02139, USA\\)\\.") |
| 57 | "SUCH DAMAGE\\.") ; BSD | 57 | (,(rx (or "The Regents of the University of California. All rights reserved." |
| 58 | ("Permission is hereby granted, free of charge" . ; X11 | 58 | "Redistribution and use in source and binary")) |
| 59 | "authorization from the X Consortium\\.")) | 59 | . "THE POSSIBILITY OF SUCH DAMAGE\\.") ; BSD |
| 60 | ("Permission is hereby granted, free of charge" . | ||
| 61 | ,(rx (or "authorization from the X Consortium." ; X11 | ||
| 62 | "THE USE OR OTHER DEALINGS IN THE SOFTWARE.")))) ; Expat | ||
| 60 | "Alist of regexps defining start and end of text to elide. | 63 | "Alist of regexps defining start and end of text to elide. |
| 61 | 64 | ||
| 62 | The cars of elements of the list are searched for in order. Text is | 65 | The cars of elements of the list are searched for in order. Text is |
| @@ -64,7 +67,8 @@ elided with an invisible overlay from the end of the line where the | |||
| 64 | first match is found to the end of the match for the corresponding | 67 | first match is found to the end of the match for the corresponding |
| 65 | cdr." | 68 | cdr." |
| 66 | :type '(alist :key-type (regexp :tag "Start regexp") | 69 | :type '(alist :key-type (regexp :tag "Start regexp") |
| 67 | :value-type (regexp :tag "End regexp"))) | 70 | :value-type (regexp :tag "End regexp")) |
| 71 | :version "29.1") | ||
| 68 | 72 | ||
| 69 | (defvar-local elide-head-overlay nil) | 73 | (defvar-local elide-head-overlay nil) |
| 70 | 74 | ||