mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-14 01:50:22 -08:00
Merge from origin/emacs-26
460fe4a1bc; Doc fixes41adf3281eAvoid duplicate calls to xfree for the same pointer3e7ebbe1bdDon't clobber docstrings of explicitly-defined mode hook v...9c8fe0248bAvoid fullscreen ediff control frames by default (Bug#29026)7d32176accFix the bug#24034 change (revno9eb028f) causing infloop (...ee493663baMerge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e...ca5eb0d0b7Fix a typo in the ELisp manuald10c9479caFix doc and doc-strings for minibuffer window related func...18331d00daFix "Args out of range" error in c-determine-limit. Fixes...edde35e6f8* lisp/progmodes/perl-mode.el: Fix electric indentation wi...056587c45fExtend mhtml submode region when in comment4c4ad80848Fix mthml submode lighting at end of buffer557e252aa2Remember more variables in mhtml-mode336cd0a11a; * lisp/select.el (select-enable-primary): Add missing pe...134099bc90; * etc/NEWS (EUDC): Mark as not requiring documentation.1a340274bf* etc/NEWS (EUDC): Deprecate BBDB 2.x backward compatibility.4189d0ef7bFix minibuffer window related docs and strings (Bug#28978)2ebdde6e9cAdd ChkTeX flymake backend for latex-mode5b59841791Fix doc typos82a16c547bFix some duplicate word typos266888b1d7* doc/lispref/commands.texi (Adjusting Point): Fix wording...00c3c6d88dAvoid segfaults in 64-bit Windows buildsa8e6741066Fix conversion of pixel coordinates to buffer positiond43b486f6cFix doc strings in desktop.el9102fb603eAdd Index to ERT manual68182a4710Make manuals and NEWS consistent451823b0e5Don't allow (minibuffer-window-active-p nil) to return tcc8f72ca22Clarify obsolescence message for 'whitespace-tab'50f711e7faFix some duplicate words typos8bd9524a7c* lisp/button.el (button-activate): Fix doc typo.0b0d91e60a* lisp/calendar/todo-mode.el (todo-toggle-mark-item): Fix ...e6b4e5ffdfFix some doc typose8636ac8ccFix startup display on Cygwin3926c5ad83* src/fileio.c (Fset_default_file_modes): Fix typo in doc ...9715317dfd* lisp/dired.el (dired-find-alternate-file): Doc fix. (Bu...9e442a001aImprove documentation of how faces are applied to display ...1bda71ec3bImprove pixel-scroll-mode196106d37dSupport Certification Authority Authorization in dns-mode.elec08d70b4fImprove documentation of set-default-file-modes # Conflicts: # etc/NEWS
This commit is contained in:
commit
1441eb76fd
70 changed files with 581 additions and 239 deletions
|
|
@ -203,11 +203,13 @@ See Info node `(elisp)Derived Modes' for more details."
|
|||
parent child docstring syntax abbrev))
|
||||
|
||||
`(progn
|
||||
(defvar ,hook nil
|
||||
,(format "Hook run after entering %s mode.
|
||||
(defvar ,hook nil)
|
||||
(unless (get ',hook 'variable-documentation)
|
||||
(put ',hook 'variable-documentation
|
||||
,(format "Hook run after entering %s mode.
|
||||
No problems result if this variable is not bound.
|
||||
`add-hook' automatically binds it. (This is true for all hook variables.)"
|
||||
name))
|
||||
name)))
|
||||
(unless (boundp ',map)
|
||||
(put ',map 'definition-name ',child))
|
||||
(with-no-warnings (defvar ,map (make-sparse-keymap)))
|
||||
|
|
|
|||
|
|
@ -309,11 +309,13 @@ the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'.
|
|||
;; up-to-here.
|
||||
:autoload-end
|
||||
|
||||
(defvar ,hook nil
|
||||
,(format "Hook run after entering or leaving `%s'.
|
||||
(defvar ,hook nil)
|
||||
(unless (get ',hook 'variable-documentation)
|
||||
(put ',hook 'variable-documentation
|
||||
,(format "Hook run after entering or leaving `%s'.
|
||||
No problems result if this variable is not bound.
|
||||
`add-hook' automatically binds it. (This is true for all hook variables.)"
|
||||
modefun))
|
||||
modefun)))
|
||||
|
||||
;; Define the minor-mode keymap.
|
||||
,(unless (symbolp keymap) ;nil is also a symbol.
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
;; and then M-: (macroexpand-all '(my-test1 y)) RET)
|
||||
;; There is still one downside shared with the defmacro and cl-defsubst
|
||||
;; approach: when the function is inlined, the scoping rules (dynamic or
|
||||
;; lexical) will be inherited from the the call site.
|
||||
;; lexical) will be inherited from the call site.
|
||||
|
||||
;; Of course, since define-inline defines a compiler macro, you can also do
|
||||
;; call-site optimizations, just like you can with `defmacro', but not with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue