Merge from origin/emacs-25
ee73997
Make erc work better when encountering unknown prefix charsb99141d
Make erc completion case-insensitive again66c4620
Make complection in erc use consistent casing8c562b2
Make /QUIT in erc more robustd93d2c5
Make tracking faces in Emacs work more reliablyaf6ab7e
Make shr not bug out on images on non-graphical displays3311f40
Fix bookmark display widthsd90ab1e
Fix typo in eww-make-unique-file-name7f81825
Make it possible to TAB to input fieldsa43a1dc
Insert complete alt texts when images are disabled56ed4e1
Allow eww text fields to grow66b315c
Make erc work when subword-mode is switched on255b68f
Fix IMAP doc example91557f5
Quoting fixes in doc strings and diagnostics2c0dc9f
Fix warning message in hack-local-variables504696d
Etags: yet another improvement in Ruby tags8784ebf
Fix x-popup-menu on TTYs without a mouse8b87ecb
* lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro6191003
Use pop-to-buffer-same-window in ewwfe321fd
* autogen.sh: Revert all recent changes.74ebd4a
* make-dist: Updates related to nt/.737193a
* make-dist: Add modules/.3696bf2
* make-dist: Update for super-special file that can't live in etc/.a4278e2
Fix failure to compile ns-win.el in parallel builds860da4d
Fix names of tags generated for Ruby accessorsf6213ce
Fix file-name recognition in 'etags'e42e662
Change Ruby file names and extensions recognized by 'etags'58bfb6a
More improvements for Ruby support in 'etags'c04e911
Add --git-config option to autogen.sh5713466
Fix editing undo changes in eww fields51362d6
Allow the user more control of popping up the eww windowee0fbd8
Make eww-browse-url with new-window parameter work again9c3142d
Clean up eww code slightlycb035f3
Don't insert nil faces in shr 4c3fae3 ; * lisp/progmodes/prolog.el: Remove some obsolete commentary.93f2153
Improve the custom type of some user options.9f60d7e
Mark some risky calendar variables.1d07dcd
Highlight two additional SCSS keywordsee8b466
Recommend enabling integrity-checking in gite639e10
Some corrections in Elisp manuald766ca8
Chatter when autogen.sh changes Git configuration3b734e1
* org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)43cb9f8
Omit unnecessary history from Lisp intro2fbd1da
* etc/HISTORY: Add some more history, plus git tags.c90e1b4
Improve elisp “Security Considerations” doccedd7ca
autogen.sh now arranges for git to check hashes86ce76b
; Fix ChangeLog.2 commit ID.7b1d2b1
Fix (c & 040) typo in emergency escapesa8273da
Fix display of overlay strings with 'display' and 'box' propertyfc48106
Fix imap-starttls-opencdecbed
Fix return value of imap-starttls-open20c7e34
; * etc/NEWS: Fix renamed command name98bdbdb
Correct reference to DARWIN_OS preprocessor symbolb250d29
Spelling fixb920a0e
Spelling fixes93b144b
Pacify GCC on C library without glibc API
This commit is contained in:
commit
0608bf1c3d
68 changed files with 1384 additions and 625 deletions
|
@ -1169,7 +1169,7 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'."
|
|||
(display-warning 'bytecomp string level byte-compile-log-buffer)))
|
||||
|
||||
(defun byte-compile-warn (format &rest args)
|
||||
"Issue a byte compiler warning; use (format FORMAT ARGS...) for message."
|
||||
"Issue a byte compiler warning; use (format-message FORMAT ARGS...) for message."
|
||||
(setq format (apply #'format-message format args))
|
||||
(if byte-compile-error-on-warn
|
||||
(error "%s" format) ; byte-compile-file catches and logs it
|
||||
|
@ -3748,7 +3748,8 @@ discarding."
|
|||
(if (= (logand len 1) 1)
|
||||
(progn
|
||||
(byte-compile-log-warning
|
||||
(format "missing value for `%S' at end of setq" (car (last args)))
|
||||
(format-message
|
||||
"missing value for `%S' at end of setq" (car (last args)))
|
||||
nil :error)
|
||||
(byte-compile-form
|
||||
`(signal 'wrong-number-of-arguments '(setq ,len))
|
||||
|
@ -4019,7 +4020,8 @@ that suppresses all warnings during execution of BODY."
|
|||
(progn
|
||||
(mapc 'byte-compile-form (cdr form))
|
||||
(byte-compile-out 'byte-call (length (cdr (cdr form)))))
|
||||
(byte-compile-log-warning "`funcall' called with no arguments" nil :error)
|
||||
(byte-compile-log-warning
|
||||
(format-message "`funcall' called with no arguments") nil :error)
|
||||
(byte-compile-form '(signal 'wrong-number-of-arguments '(funcall 0))
|
||||
byte-compile--for-effect)))
|
||||
|
||||
|
|
|
@ -47,17 +47,18 @@
|
|||
(pcase-defmacro map (&rest args)
|
||||
"Build a `pcase' pattern matching map elements.
|
||||
|
||||
The `pcase' pattern will match each element of PATTERN against
|
||||
the corresponding elements of the map.
|
||||
ARGS is a list of elements to be matched in the map.
|
||||
|
||||
Extra elements of the map are ignored if fewer ARGS are
|
||||
given, and the match does not fail.
|
||||
Each element of ARGS can be of the form (KEY PAT), in which case KEY is
|
||||
evaluated and searched for in the map. The match fails if for any KEY
|
||||
found in the map, the corresponding PAT doesn't match the value
|
||||
associated to the KEY.
|
||||
|
||||
ARGS can be a list of the form (KEY PAT), in which case KEY in an
|
||||
unquoted form.
|
||||
Each element can also be a SYMBOL, which is an abbreviation of a (KEY
|
||||
PAT) tuple of the form (\\='SYMBOL SYMBOL).
|
||||
|
||||
ARGS can also be a list of symbols, which stands for ('SYMBOL
|
||||
SYMBOL)."
|
||||
Keys in ARGS not found in the map are ignored, and the match doesn't
|
||||
fail."
|
||||
`(and (pred mapp)
|
||||
,@(map--make-pcase-bindings args)))
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
CASES is a list of elements of the form (PATTERN CODE...).
|
||||
|
||||
A structural PATTERN describes a template that identifies a class
|
||||
of values. For example, the pattern `(,foo ,bar) matches any
|
||||
of values. For example, the pattern \\=`(,foo ,bar) matches any
|
||||
two element list, binding its elements to symbols named `foo' and
|
||||
`bar' -- in much the same way that `cl-destructuring-bind' would.
|
||||
|
||||
|
@ -119,12 +119,12 @@ A significant difference from `cl-destructuring-bind' is that, if
|
|||
a pattern match fails, the next case is tried until either a
|
||||
successful match is found or there are no more cases.
|
||||
|
||||
Another difference is that pattern elements may be backquoted,
|
||||
Another difference is that pattern elements may be quoted,
|
||||
meaning they must match exactly: The pattern \\='(foo bar)
|
||||
matches only against two element lists containing the symbols
|
||||
`foo' and `bar' in that order. (As a short-hand, atoms always
|
||||
match themselves, such as numbers or strings, and need not be
|
||||
quoted).
|
||||
quoted.)
|
||||
|
||||
Lastly, a pattern can be logical, such as (pred numberp), that
|
||||
matches any number-like element; or the symbol `_', that matches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue