]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from origin/emacs-25
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Sep 2016 20:39:17 +0000 (13:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Sep 2016 20:39:17 +0000 (13:39 -0700)
9fc9988 Improve documentation of 'expand-abbrev' and wrapper hooks
c14a1d4 Minor copyedits of MS-Windows installation instructions
f281924 Fix display of cursor when 'blink-cursor-delay' has small value

# Conflicts:
# lisp/minibuffer.el

1  2 
doc/lispref/text.texi
lisp/abbrev.el
lisp/frame.el
lisp/minibuffer.el
lisp/simple.el

Simple merge
diff --cc lisp/abbrev.el
index 163dc8e57273785cc540bba1d410fc8f9ffe742e,8c4f6eb01b233f3ab800eb2a41a9b86957c09e60..b6d202c1807acbec110b02aa438fbf4a32dd6e80
@@@ -846,9 -846,10 +846,10 @@@ be the abbrev symbol if expansion occur
  
  (defun abbrev--default-expand ()
    "Default function to use for `abbrev-expand-function'.
- This respects the wrapper hook `abbrev-expand-functions'.
+ This also respects the obsolete wrapper hook `abbrev-expand-functions'.
+ \(See `with-wrapper-hook' for details about wrapper hooks.)
  Calls `abbrev-insert' to insert any expansion, and returns what it does."
 -  (with-wrapper-hook abbrev-expand-functions ()
 +  (subr--with-wrapper-hook-no-warnings abbrev-expand-functions ()
      (pcase-let ((`(,sym ,name ,wordstart ,wordend) (abbrev--before-point)))
        (when sym
          (let ((startpos (copy-marker (point) t))
diff --cc lisp/frame.el
Simple merge
index 9190c1fb203644faebb6b3b0e42730ffbb3dcdff,c7f7c4122c3bb0cf2cb528d42aa1c8efc9b6cb77..3d63ca8bd5f0afd4476ecedd99568a7561fe3ff9
@@@ -1969,8 -1970,9 +1970,9 @@@ if there was no valid completion, else 
  (defun completion--in-region (start end collection &optional predicate)
    "Default function to use for `completion-in-region-function'.
  Its arguments and return value are as specified for `completion-in-region'.
- This respects the wrapper hook `completion-in-region-functions'."
+ Also respects the obsolete wrapper hook `completion-in-region-functions'.
+ \(See `with-wrapper-hook' for details about wrapper hooks.)"
 -  (with-wrapper-hook
 +  (subr--with-wrapper-hook-no-warnings
        ;; FIXME: Maybe we should use this hook to provide a "display
        ;; completions" operation as well.
        completion-in-region-functions (start end collection predicate)
diff --cc lisp/simple.el
index 7e68baa02f82bef3c9bdd9b9dd6cc93481079c99,c7d3b2e6b0b6f6417f4d011278398bd575c35dd7..dd253aec7d5c9c5c9c0a13abbcadf40df2238f3d
@@@ -4162,11 -4051,11 +4163,12 @@@ that are special to a buffer, and shoul
  (defun buffer-substring--filter (beg end &optional delete)
    "Default function to use for `filter-buffer-substring-function'.
  Its arguments and return value are as specified for `filter-buffer-substring'.
- This respects the wrapper hook `filter-buffer-substring-functions',
+ Also respects the obsolete wrapper hook `filter-buffer-substring-functions'
+ \(see `with-wrapper-hook' for details about wrapper hooks),
  and the abnormal hook `buffer-substring-filters'.
  No filtering is done unless a hook says to."
 -  (with-wrapper-hook filter-buffer-substring-functions (beg end delete)
 +  (subr--with-wrapper-hook-no-warnings
 +    filter-buffer-substring-functions (beg end delete)
      (cond
       ((or delete buffer-substring-filters)
        (save-excursion