mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from origin/emacs-25
2317c61Fix last todo-mode change5d4d8a3Improve last todo-mode fixd7084f2Fix todo-mode use of minibuffer completion keymap (bug#23695).27dec52* src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23...f526191* lisp/emacs-lisp/nadvice.el (advice--make-docstring): Avoid ...e881070* lisp/help-fns.el (describe-function-1): Avoid reporting adv...d308aa1Minor grammar fix (bug#23746)20de667Doc fixes for grammar and typos (bug#23746)a67a4e5* doc/lispref/processes.texi (Process Buffers): Minor rewordi...27f440eAdd cross-reference to ELisp manual10802d8; make change-history-commit4b2d77d* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bu...12e009eRestore initial undo boundary with viper291fe0aRevert "Fix viper undo breakage from undo-boundary changes"6921f4aFix dbus crash on 32-bit Cygwin
This commit is contained in:
commit
d9088290ef
23 changed files with 3923 additions and 65 deletions
|
|
@ -261,7 +261,7 @@ Assumes the caller has bound `macroexpand-all-environment'."
|
|||
(format "%s quoted with ' rather than with #'"
|
||||
(list 'lambda (nth 1 f) '...))
|
||||
(macroexp--expand-all `(,fun ,arg1 ,f . ,args))))
|
||||
(`(funcall (,(or 'quote 'function) ,(and f (pred symbolp)) . ,_) . ,args)
|
||||
(`(funcall #',(and f (pred symbolp)) . ,args)
|
||||
;; Rewrite (funcall #'foo bar) to (foo bar), in case `foo'
|
||||
;; has a compiler-macro.
|
||||
(macroexp--expand-all `(,f . ,args)))
|
||||
|
|
|
|||
|
|
@ -114,7 +114,10 @@ Each element has the form (WHERE BYTECODE STACK) where:
|
|||
(usage (help-split-fundoc origdoc function)))
|
||||
(setq usage (if (null usage)
|
||||
(let ((arglist (help-function-arglist flist)))
|
||||
(help--make-usage-docstring function arglist))
|
||||
;; "[Arg list not available until function
|
||||
;; definition is loaded]", bug#21299
|
||||
(if (stringp arglist) t
|
||||
(help--make-usage-docstring function arglist)))
|
||||
(setq origdoc (cdr usage)) (car usage)))
|
||||
(help-add-fundoc-usage (concat docstring origdoc) usage))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue