diff options
| author | Glenn Morris | 2016-10-01 06:22:45 -0400 |
|---|---|---|
| committer | Glenn Morris | 2016-10-01 06:22:45 -0400 |
| commit | e1c5422e7bc2fbe0ecf5ab501b39d32fac61e747 (patch) | |
| tree | 834ba3c275477458875c5f13914c5767aa7bcaf3 | |
| parent | 4431eff77524c3fb3ac953130081b27cb1a6be7a (diff) | |
| download | emacs-e1c5422e7bc2fbe0ecf5ab501b39d32fac61e747.tar.gz emacs-e1c5422e7bc2fbe0ecf5ab501b39d32fac61e747.zip | |
; Auto-commit of loaddefs files.
| -rw-r--r-- | lisp/ldefs-boot.el | 81 |
1 files changed, 59 insertions, 22 deletions
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index 920ea3015dd..25a9c4fc726 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el | |||
| @@ -11323,8 +11323,6 @@ Third arg DELIMITED (prefix arg) means replace only word-delimited matches. | |||
| 11323 | If you exit (\\[keyboard-quit], RET or q), you can resume the query replace | 11323 | If you exit (\\[keyboard-quit], RET or q), you can resume the query replace |
| 11324 | with the command \\[tags-loop-continue]. | 11324 | with the command \\[tags-loop-continue]. |
| 11325 | Fourth arg FILE-LIST-FORM non-nil means initialize the replacement loop. | 11325 | Fourth arg FILE-LIST-FORM non-nil means initialize the replacement loop. |
| 11326 | Fifth and sixth arguments START and END are accepted, for compatibility | ||
| 11327 | with `query-replace-regexp', and ignored. | ||
| 11328 | 11326 | ||
| 11329 | If FILE-LIST-FORM is non-nil, it is a form to evaluate to | 11327 | If FILE-LIST-FORM is non-nil, it is a form to evaluate to |
| 11330 | produce the list of files to search. | 11328 | produce the list of files to search. |
| @@ -15153,7 +15151,7 @@ The return value is the last VAL in the list. | |||
| 15153 | Return a reference to PLACE. | 15151 | Return a reference to PLACE. |
| 15154 | This is like the `&' operator of the C language. | 15152 | This is like the `&' operator of the C language. |
| 15155 | Note: this only works reliably with lexical binding mode, except for very | 15153 | Note: this only works reliably with lexical binding mode, except for very |
| 15156 | simple PLACEs such as (function-symbol \\='foo) which will also work in dynamic | 15154 | simple PLACEs such as (symbol-function \\='foo) which will also work in dynamic |
| 15157 | binding mode. | 15155 | binding mode. |
| 15158 | 15156 | ||
| 15159 | \(fn PLACE)" nil t) | 15157 | \(fn PLACE)" nil t) |
| @@ -26789,18 +26787,44 @@ This enforces rescanning the buffer on next use. | |||
| 26789 | 26787 | ||
| 26790 | (autoload 'regexp-opt "regexp-opt" "\ | 26788 | (autoload 'regexp-opt "regexp-opt" "\ |
| 26791 | Return a regexp to match a string in the list STRINGS. | 26789 | Return a regexp to match a string in the list STRINGS. |
| 26792 | Each string should be unique in STRINGS and should not contain any regexps, | 26790 | Each string should be unique in STRINGS and should not contain |
| 26793 | quoted or not. If optional PAREN is non-nil, ensure that the returned regexp | 26791 | any regexps, quoted or not. Optional PAREN specifies how the |
| 26794 | is enclosed by at least one regexp grouping construct. | 26792 | returned regexp is surrounded by grouping constructs. |
| 26795 | The returned regexp is typically more efficient than the equivalent regexp: | ||
| 26796 | 26793 | ||
| 26797 | (let ((open (if PAREN \"\\\\(\" \"\")) (close (if PAREN \"\\\\)\" \"\"))) | 26794 | The optional argument PAREN can be any of the following: |
| 26798 | (concat open (mapconcat \\='regexp-quote STRINGS \"\\\\|\") close)) | ||
| 26799 | 26795 | ||
| 26800 | If PAREN is `words', then the resulting regexp is additionally surrounded | 26796 | a string |
| 26801 | by \\=\\< and \\>. | 26797 | the resulting regexp is preceded by PAREN and followed by |
| 26802 | If PAREN is `symbols', then the resulting regexp is additionally surrounded | 26798 | \\), e.g. use \"\\\\(?1:\" to produce an explicitly numbered |
| 26803 | by \\=\\_< and \\_>. | 26799 | group. |
| 26800 | |||
| 26801 | `words' | ||
| 26802 | the resulting regexp is surrounded by \\=\\<\\( and \\)\\>. | ||
| 26803 | |||
| 26804 | `symbols' | ||
| 26805 | the resulting regexp is surrounded by \\_<\\( and \\)\\_>. | ||
| 26806 | |||
| 26807 | non-nil | ||
| 26808 | the resulting regexp is surrounded by \\( and \\). | ||
| 26809 | |||
| 26810 | nil | ||
| 26811 | the resulting regexp is surrounded by \\(?: and \\), if it is | ||
| 26812 | necessary to ensure that a postfix operator appended to it will | ||
| 26813 | apply to the whole expression. | ||
| 26814 | |||
| 26815 | The resulting regexp is equivalent to but usually more efficient | ||
| 26816 | than that of a simplified version: | ||
| 26817 | |||
| 26818 | (defun simplified-regexp-opt (strings &optional paren) | ||
| 26819 | (let ((parens | ||
| 26820 | (cond ((stringp paren) (cons paren \"\\\\)\")) | ||
| 26821 | ((eq paren 'words) '(\"\\\\\\=<\\\\(\" . \"\\\\)\\\\>\")) | ||
| 26822 | ((eq paren 'symbols) '(\"\\\\_<\\\\(\" . \"\\\\)\\\\_>\")) | ||
| 26823 | ((null paren) '(\"\\\\(?:\" . \"\\\\)\")) | ||
| 26824 | (t '(\"\\\\(\" . \"\\\\)\"))))) | ||
| 26825 | (concat (car paren) | ||
| 26826 | (mapconcat 'regexp-quote strings \"\\\\|\") | ||
| 26827 | (cdr paren)))) | ||
| 26804 | 26828 | ||
| 26805 | \(fn STRINGS &optional PAREN)" nil nil) | 26829 | \(fn STRINGS &optional PAREN)" nil nil) |
| 26806 | 26830 | ||
| @@ -34990,6 +35014,11 @@ in any way you like. | |||
| 34990 | 35014 | ||
| 34991 | \(fn FILE OPPONENT)" nil nil) | 35015 | \(fn FILE OPPONENT)" nil nil) |
| 34992 | 35016 | ||
| 35017 | (autoload 'userlock--ask-user-about-supersession-threat "userlock" "\ | ||
| 35018 | |||
| 35019 | |||
| 35020 | \(fn FN)" nil nil) | ||
| 35021 | |||
| 34993 | (autoload 'ask-user-about-supersession-threat "userlock" "\ | 35022 | (autoload 'ask-user-about-supersession-threat "userlock" "\ |
| 34994 | Ask a user who is about to modify an obsolete buffer what to do. | 35023 | Ask a user who is about to modify an obsolete buffer what to do. |
| 34995 | This function has two choices: it can return, in which case the modification | 35024 | This function has two choices: it can return, in which case the modification |
| @@ -35001,7 +35030,7 @@ The buffer in question is current when this function is called. | |||
| 35001 | 35030 | ||
| 35002 | \(fn FN)" nil nil) | 35031 | \(fn FN)" nil nil) |
| 35003 | 35032 | ||
| 35004 | (if (fboundp 'register-definition-prefixes) (register-definition-prefixes "userlock" '("ask-user-about-" "file-"))) | 35033 | (if (fboundp 'register-definition-prefixes) (register-definition-prefixes "userlock" '("ask-user-about-" "userlock--check-content-unchanged" "file-"))) |
| 35005 | 35034 | ||
| 35006 | ;;;*** | 35035 | ;;;*** |
| 35007 | 35036 | ||
| @@ -36981,8 +37010,10 @@ in certain major modes. | |||
| 36981 | (autoload 'whitespace-mode "whitespace" "\ | 37010 | (autoload 'whitespace-mode "whitespace" "\ |
| 36982 | Toggle whitespace visualization (Whitespace mode). | 37011 | Toggle whitespace visualization (Whitespace mode). |
| 36983 | With a prefix argument ARG, enable Whitespace mode if ARG is | 37012 | With a prefix argument ARG, enable Whitespace mode if ARG is |
| 36984 | positive, and disable it otherwise. If called from Lisp, enable | 37013 | positive, and disable it otherwise. |
| 36985 | the mode if ARG is omitted or nil. | 37014 | |
| 37015 | If called from Lisp, also enables the mode if ARG is omitted or nil, | ||
| 37016 | and toggles it if ARG is `toggle'. | ||
| 36986 | 37017 | ||
| 36987 | See also `whitespace-style', `whitespace-newline' and | 37018 | See also `whitespace-style', `whitespace-newline' and |
| 36988 | `whitespace-display-mappings'. | 37019 | `whitespace-display-mappings'. |
| @@ -36992,8 +37023,10 @@ See also `whitespace-style', `whitespace-newline' and | |||
| 36992 | (autoload 'whitespace-newline-mode "whitespace" "\ | 37023 | (autoload 'whitespace-newline-mode "whitespace" "\ |
| 36993 | Toggle newline visualization (Whitespace Newline mode). | 37024 | Toggle newline visualization (Whitespace Newline mode). |
| 36994 | With a prefix argument ARG, enable Whitespace Newline mode if ARG | 37025 | With a prefix argument ARG, enable Whitespace Newline mode if ARG |
| 36995 | is positive, and disable it otherwise. If called from Lisp, | 37026 | is positive, and disable it otherwise. |
| 36996 | enable the mode if ARG is omitted or nil. | 37027 | |
| 37028 | If called from Lisp, also enables the mode if ARG is omitted or nil, | ||
| 37029 | and toggles it if ARG is `toggle'. | ||
| 36997 | 37030 | ||
| 36998 | Use `whitespace-newline-mode' only for NEWLINE visualization | 37031 | Use `whitespace-newline-mode' only for NEWLINE visualization |
| 36999 | exclusively. For other visualizations, including NEWLINE | 37032 | exclusively. For other visualizations, including NEWLINE |
| @@ -37017,8 +37050,10 @@ or call the function `global-whitespace-mode'.") | |||
| 37017 | (autoload 'global-whitespace-mode "whitespace" "\ | 37050 | (autoload 'global-whitespace-mode "whitespace" "\ |
| 37018 | Toggle whitespace visualization globally (Global Whitespace mode). | 37051 | Toggle whitespace visualization globally (Global Whitespace mode). |
| 37019 | With a prefix argument ARG, enable Global Whitespace mode if ARG | 37052 | With a prefix argument ARG, enable Global Whitespace mode if ARG |
| 37020 | is positive, and disable it otherwise. If called from Lisp, | 37053 | is positive, and disable it otherwise. |
| 37021 | enable it if ARG is omitted or nil. | 37054 | |
| 37055 | If called from Lisp, also enables the mode if ARG is omitted or nil, | ||
| 37056 | and toggles it if ARG is `toggle'. | ||
| 37022 | 37057 | ||
| 37023 | See also `whitespace-style', `whitespace-newline' and | 37058 | See also `whitespace-style', `whitespace-newline' and |
| 37024 | `whitespace-display-mappings'. | 37059 | `whitespace-display-mappings'. |
| @@ -37038,8 +37073,10 @@ or call the function `global-whitespace-newline-mode'.") | |||
| 37038 | (autoload 'global-whitespace-newline-mode "whitespace" "\ | 37073 | (autoload 'global-whitespace-newline-mode "whitespace" "\ |
| 37039 | Toggle global newline visualization (Global Whitespace Newline mode). | 37074 | Toggle global newline visualization (Global Whitespace Newline mode). |
| 37040 | With a prefix argument ARG, enable Global Whitespace Newline mode | 37075 | With a prefix argument ARG, enable Global Whitespace Newline mode |
| 37041 | if ARG is positive, and disable it otherwise. If called from | 37076 | if ARG is positive, and disable it otherwise. |
| 37042 | Lisp, enable it if ARG is omitted or nil. | 37077 | |
| 37078 | If called from Lisp, also enables the mode if ARG is omitted or nil, | ||
| 37079 | and toggles it if ARG is `toggle'. | ||
| 37043 | 37080 | ||
| 37044 | Use `global-whitespace-newline-mode' only for NEWLINE | 37081 | Use `global-whitespace-newline-mode' only for NEWLINE |
| 37045 | visualization exclusively. For other visualizations, including | 37082 | visualization exclusively. For other visualizations, including |