diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-01-01 01:02:47 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-01-01 01:02:47 -0800 |
commit | 61848d2da32bb889d714fcddcb7dfd6dfa1b502d (patch) | |
tree | bec14e4a5ad9051ad310273db7fcc1d2164488b7 /lisp | |
parent | bbb683f04aa0960422b12af5ef79679344fac19c (diff) | |
parent | 697167b5432a89db009238cf5cbddc61e69ad339 (diff) | |
download | emacs-61848d2da32bb889d714fcddcb7dfd6dfa1b502d.tar.gz |
Merge from origin/emacs-25
697167b ; Improve wording of previous change in variables.texi
d7973e8 Document 'default-toplevel-value' and 'set-default-toplevel-v...
8b71826 Don't modify minibuffer variables globally
5b5e036 Revert to pre-25.1 behavior in ffap
19994a1 * lisp/ffap.el: Fix obsolete comment referencing ffap-bug.
3ace730 Attempt to fix 64-bit AIX build
f69bd79 Clarify usage of 'ediff-cleanup-hook' (Bug#24675)
c04ac8a Document that variable binding order is unspecified
272554a * lisp/desktop.el (desktop-buffers-not-to-save): Doc fix.
08de101 Fix M-x hints on Mac port
86a297a Work around reporting a dpi change in apply_xft_settings
cf1f985 ; lisp/skeleton.el (skeleton-insert): Fix typo in last change
9e1209d Amend the version number of CC Mode 5.33 -> 5.32.99. Don't m...
88cdf14 Improve skeleton docstrings
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/desktop.el | 5 | ||||
-rw-r--r-- | lisp/ffap.el | 10 | ||||
-rw-r--r-- | lisp/files.el | 14 | ||||
-rw-r--r-- | lisp/progmodes/cc-defs.el | 2 | ||||
-rw-r--r-- | lisp/simple.el | 1 | ||||
-rw-r--r-- | lisp/skeleton.el | 12 |
6 files changed, 26 insertions, 18 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el index 063208fee69..a88d39a5e62 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -380,7 +380,10 @@ modes are restored automatically; they should not be listed here." :group 'desktop) (defcustom desktop-buffers-not-to-save "\\` " - "Regexp identifying buffers that are to be excluded from saving." + "Regexp identifying buffers that are to be excluded from saving. +This is in effect only for buffers that don't visit files. +To exclude buffers that visit files, use `desktop-files-not-to-save' +or `desktop-modes-not-to-save'." :type '(choice (const :tag "None" nil) regexp) :version "24.4" ; skip invisible temporary buffers diff --git a/lisp/ffap.el b/lisp/ffap.el index 99bb65faafe..a7983f08395 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -32,7 +32,7 @@ ;; (`ffap-require-prefix' swaps these behaviors). This is useful for ;; following references in situations such as mail or news buffers, ;; README's, MANIFEST's, and so on. Submit bugs or suggestions with -;; M-x ffap-bug. +;; M-x report-emacs-bug. ;; ;; For the default installation, add this line to your init file: ;; @@ -162,8 +162,12 @@ schemes (e.g. \"ftp\"); in that case, only convert those URLs." :group 'ffap :version "24.3") -(defcustom ffap-lax-url nil - "If non-nil, allow lax URL matching." +(defcustom ffap-lax-url t + "If non-nil, allow lax URL matching. +The default non-nil value might produce false URLs in C++ code +with symbols like \"std::find\". On the other hand, setting +this to nil will disable recognition of URLs that are not +well-formed, such as \"user@host\" or \"<user@host>\"." :type 'boolean :group 'ffap :version "25.1") diff --git a/lisp/files.el b/lisp/files.el index 790f6cedfd6..71398227407 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -716,13 +716,13 @@ The path separator is colon in GNU and GNU-like systems." ;; (which will lead to the use of B/a). (minibuffer-with-setup-hook (lambda () - (setq minibuffer-completion-table - (apply-partially #'locate-file-completion-table - cd-path nil)) - (setq minibuffer-completion-predicate - (lambda (dir) - (locate-file dir cd-path nil - (lambda (f) (and (file-directory-p f) 'dir-ok)))))) + (setq-local minibuffer-completion-table + (apply-partially #'locate-file-completion-table + cd-path nil)) + (setq-local minibuffer-completion-predicate + (lambda (dir) + (locate-file dir cd-path nil + (lambda (f) (and (file-directory-p f) 'dir-ok)))))) (unless cd-path (setq cd-path (or (parse-colon-path (getenv "CDPATH")) (list "./")))) diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index ab4baa247b9..f1943a82163 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -94,7 +94,7 @@ ;;; Variables also used at compile time. -(defconst c-version "5.33" +(defconst c-version "5.32.99" "CC Mode version number.") (defconst c-version-sym (intern c-version)) diff --git a/lisp/simple.el b/lisp/simple.el index 0ee2f060e5e..b72e75d169b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1699,6 +1699,7 @@ If the value is non-nil and not a number, we wait 2 seconds." ;; Don't show the help message if the binding isn't ;; significantly shorter than the M-x command the user typed. (< len (- max 5)))) + (input-pending-p) ;Dummy call to trigger input-processing, bug#23002. (let ((candidate (pop candidates))) (when (equal name (car-safe (completion-try-completion diff --git a/lisp/skeleton.el b/lisp/skeleton.el index 0e81e2d74c6..c563a9cd0cd 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el @@ -59,8 +59,7 @@ region.") (make-obsolete-variable 'skeleton-autowrap nil "24.5") (defvar skeleton-end-newline t - "If non-nil, make sure that the skeleton inserted ends with a newline. -This just influences the way the default `skeleton-end-hook' behaves.") + "If non-nil, make sure that the skeleton inserted ends with a newline.") (defvar skeleton-end-hook nil "Hook called at end of skeleton but before going to point of interest. @@ -187,6 +186,10 @@ The optional third argument STR, if specified, is the value for the variable `str' within the skeleton. When this is non-nil, the interactor gets ignored, and this should be a valid skeleton element. +When done with skeleton, but before going back to `_'-point, add +a newline (unless `skeleton-end-newline' is nil) and run the hook +`skeleton-end-hook'. + SKELETON is made up as (INTERACTOR ELEMENT ...). INTERACTOR may be nil if not needed, a prompt-string or an expression for complex read functions. @@ -235,10 +238,7 @@ available: then: insert previously read string once more help help-form during interaction with the user or nil input initial input (string or cons with index) while reading str - v1, v2 local variables for memorizing anything you want - -When done with skeleton, but before going back to `_'-point call -`skeleton-end-hook' if that is non-nil." + v1, v2 local variables for memorizing anything you want" (let ((skeleton-regions regions)) (and skeleton-regions (setq skeleton-regions |