mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-20 12:40:56 -08:00
Merge branch 'master' into scratch/igc
This commit is contained in:
commit
528f711406
102 changed files with 2052 additions and 1105 deletions
|
|
@ -487,10 +487,10 @@ this to anything but t is likely to be counter-productive.")
|
|||
("yanks" . "yank")
|
||||
)
|
||||
"Alist of common words in the wrong voice and what should be used instead.
|
||||
Set `checkdoc-verb-check-experimental-flag' to nil to avoid this costly
|
||||
and experimental check. Do not modify this list without setting
|
||||
the value of `checkdoc-common-verbs-regexp' to nil which cause it to
|
||||
be re-created.")
|
||||
Set `checkdoc-verb-check-experimental-flag' to a non-nil value to enable
|
||||
this experimental check. Do not modify this list without setting the
|
||||
value of `checkdoc-common-verbs-regexp' to nil, which causes it to be
|
||||
re-created.")
|
||||
|
||||
(defvar checkdoc-syntax-table
|
||||
(let ((st (make-syntax-table emacs-lisp-mode-syntax-table)))
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
|
||||
(require 'cl-lib) ; for cl-assert
|
||||
|
||||
;;;###autoload
|
||||
(defmacro cond* (&rest clauses)
|
||||
"Extended form of traditional Lisp `cond' construct.
|
||||
A `cond*' construct is a series of clauses, and a clause
|
||||
|
|
@ -68,10 +69,9 @@ in its body becomes the return value of the `cond*' construct.
|
|||
Non-exit clause:
|
||||
|
||||
If a clause has only one element, or if its first element is
|
||||
t, or if it ends with the keyword :non-exit, then
|
||||
this clause never exits the `cond*' construct. Instead,
|
||||
control falls through to the next clause (if any).
|
||||
The bindings made in CONDITION for the BODY of the non-exit clause
|
||||
a `bind*' clause, this clause never exits the `cond*' construct.
|
||||
Instead, control always falls through to the next clause (if any).
|
||||
All bindings made in CONDITION for the BODY of the non-exit clause
|
||||
are passed along to the rest of the clauses in this `cond*' construct.
|
||||
|
||||
\\[match*\\] for documentation of the patterns for use in `match*'."
|
||||
|
|
|
|||
|
|
@ -400,9 +400,12 @@ See `find-library' for more details."
|
|||
Visit the library in a buffer, and return a cons cell (BUFFER . POSITION),
|
||||
or just (BUFFER . nil) if the definition can't be found in the file.
|
||||
|
||||
If TYPE is nil, look for a function definition.
|
||||
Otherwise, TYPE specifies the kind of definition,
|
||||
and it is interpreted via `find-function-regexp-alist'.
|
||||
If TYPE is nil, look for a function definition,
|
||||
otherwise, TYPE specifies the kind of definition.
|
||||
If SYMBOL has a property `definition-type',
|
||||
the property value is used instead of TYPE.
|
||||
TYPE is interpreted via `find-function-regexp-alist'.
|
||||
|
||||
The search is done in the source for library LIBRARY."
|
||||
(if (null library)
|
||||
(error "Don't know where `%s' is defined" symbol))
|
||||
|
|
@ -410,6 +413,8 @@ The search is done in the source for library LIBRARY."
|
|||
;; that defines something else.
|
||||
(while (and (symbolp symbol) (get symbol 'definition-name))
|
||||
(setq symbol (get symbol 'definition-name)))
|
||||
(setq type (or (get symbol 'definition-type)
|
||||
type))
|
||||
(if (string-match "\\`src/\\(.*\\.\\(c\\|m\\)\\)\\'" library)
|
||||
(find-function-C-source symbol (match-string 1 library) type)
|
||||
(when (string-match "\\.el\\(c\\)\\'" library)
|
||||
|
|
|
|||
|
|
@ -2497,8 +2497,9 @@ compiled."
|
|||
(defun package-delete (pkg-desc &optional force nosave)
|
||||
"Delete package PKG-DESC.
|
||||
|
||||
Argument PKG-DESC is a full description of package as vector.
|
||||
Interactively, prompt the user for the package name and version.
|
||||
Argument PKG-DESC is the full description of the package, for example as
|
||||
obtained by `package-get-descriptor'. Interactively, prompt the user
|
||||
for the package name and version.
|
||||
|
||||
When package is used elsewhere as dependency of another package,
|
||||
refuse deleting it and return an error.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue