aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2017-03-19 12:27:55 -0700
committerPaul Eggert2017-03-19 12:27:55 -0700
commit59ced4521ebdadaf48b9c22b7cda46407a8b942b (patch)
treee200fa9accae153426fb414cde550435d94cc58d
parent8893d81fc30c2fd9afceecb4e0325edc9c8b3f50 (diff)
parent5569e644448eb84dce1ca9359ae33901347acac8 (diff)
downloademacs-59ced4521ebdadaf48b9c22b7cda46407a8b942b.tar.gz
emacs-59ced4521ebdadaf48b9c22b7cda46407a8b942b.zip
Merge from origin/emacs-25
5569e64 ; Spelling fixes 24a5f57 * lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (... 9b89896 * lisp/progmodes/sql.el (sql-product-alist): Doc tweak 69b50f5 * lisp/progmodes/sql.el (sql-product-alist): Doc fix. (Bug#2... 42eae54 Improve documentation of dabbrevs b0ade0d Clarify that easy-menu-add is a nop (Bug#25382) 3c69f2c * lisp/textmodes/rst.el (rst-package-emacs-version-alist): Fi... # Conflicts: # lisp/textmodes/rst.el
-rw-r--r--doc/emacs/abbrevs.texi20
-rw-r--r--lisp/emacs-lisp/easymenu.el15
-rw-r--r--lisp/net/eww.el1
-rw-r--r--lisp/progmodes/sql.el17
-rw-r--r--lisp/textmodes/rst.el2
-rw-r--r--src/buffer.c4
6 files changed, 36 insertions, 23 deletions
diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi
index 8cb7a4838e9..117d07e2814 100644
--- a/doc/emacs/abbrevs.texi
+++ b/doc/emacs/abbrevs.texi
@@ -388,6 +388,9 @@ words that follow the expansion in its original context. Simply type
388@kbd{@key{SPC} M-/} for each additional word you want to copy. The 388@kbd{@key{SPC} M-/} for each additional word you want to copy. The
389spacing and punctuation between words is copied along with the words. 389spacing and punctuation between words is copied along with the words.
390 390
391 You can control the way @kbd{M-/} determines the word to expand and
392how to expand it, see @ref{Dabbrev Customization}.
393
391 The command @kbd{C-M-/} (@code{dabbrev-completion}) performs 394 The command @kbd{C-M-/} (@code{dabbrev-completion}) performs
392completion of a dynamic abbrev. Instead of trying the possible 395completion of a dynamic abbrev. Instead of trying the possible
393expansions one by one, it finds all of them, then inserts the text 396expansions one by one, it finds all of them, then inserts the text
@@ -437,12 +440,17 @@ copies the expansion verbatim including its case pattern.
437 440
438@vindex dabbrev-abbrev-char-regexp 441@vindex dabbrev-abbrev-char-regexp
439 The variable @code{dabbrev-abbrev-char-regexp}, if non-@code{nil}, 442 The variable @code{dabbrev-abbrev-char-regexp}, if non-@code{nil},
440controls which characters are considered part of a word, for dynamic expansion 443controls which characters are considered part of a word, for dynamic
441purposes. The regular expression must match just one character, never 444expansion purposes. The regular expression must match just one
442two or more. The same regular expression also determines which 445character, never two or more. The same regular expression also
443characters are part of an expansion. The (default) value @code{nil} 446determines which characters are part of an expansion. The (default)
444has a special meaning: dynamic abbrevs are made of word characters, 447value @code{nil} has a special meaning: dynamic abbrevs (i.e.@: the
445but expansions are made of word and symbol characters. 448word at point) are made of word characters, but their expansions are
449looked for as sequences of word and symbol characters. This is
450generally appropriate for expanding symbols in a program source and
451also for human-readable text in many languages, but may not be what
452you want in a text buffer that includes unusual punctuation characters;
453in that case, the value @code{"\\sw"} might produce better results.
446 454
447@vindex dabbrev-abbrev-skip-leading-regexp 455@vindex dabbrev-abbrev-skip-leading-regexp
448 In shell scripts and makefiles, a variable name is sometimes prefixed 456 In shell scripts and makefiles, a variable name is sometimes prefixed
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el
index 603bbcd9426..4fc9a783a5e 100644
--- a/lisp/emacs-lisp/easymenu.el
+++ b/lisp/emacs-lisp/easymenu.el
@@ -489,7 +489,7 @@ To implement dynamic menus, either call this from
489 489
490;; XEmacs needs the following two functions to add and remove menus. 490;; XEmacs needs the following two functions to add and remove menus.
491;; In Emacs this is done automatically when switching keymaps, so 491;; In Emacs this is done automatically when switching keymaps, so
492;; here easy-menu-remove is a noop. 492;; here easy-menu-remove and easy-menu-add are a noops.
493(defalias 'easy-menu-remove 'ignore 493(defalias 'easy-menu-remove 'ignore
494 "Remove MENU from the current menu bar. 494 "Remove MENU from the current menu bar.
495Contrary to XEmacs, this is a nop on Emacs since menus are automatically 495Contrary to XEmacs, this is a nop on Emacs since menus are automatically
@@ -497,15 +497,16 @@ Contrary to XEmacs, this is a nop on Emacs since menus are automatically
497 497
498\(fn MENU)") 498\(fn MENU)")
499 499
500(defun easy-menu-add (_menu &optional _map) 500(defalias 'easy-menu-add #'ignore
501 "Add the menu to the menubar. 501 "Add the menu to the menubar.
502On Emacs, menus are already automatically activated when the 502On Emacs this is a nop, because menus are already automatically
503corresponding keymap is activated. On XEmacs this is needed to 503activated when the corresponding keymap is activated. On XEmacs
504actually add the menu to the current menubar. 504this is needed to actually add the menu to the current menubar.
505 505
506You should call this once the menu and keybindings are set up 506You should call this once the menu and keybindings are set up
507completely and menu filter functions can be expected to work." 507completely and menu filter functions can be expected to work.
508 ) 508
509\(fn MENU &optional MAP)")
509 510
510(defun add-submenu (menu-path submenu &optional before in-menu) 511(defun add-submenu (menu-path submenu &optional before in-menu)
511 "Add submenu SUBMENU in the menu at MENU-PATH. 512 "Add submenu SUBMENU in the menu at MENU-PATH.
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index c9f4e61a6fe..617c7835021 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -514,6 +514,7 @@ Currently this means either text/html or application/xhtml+xml."
514 (< eww-redirect-level 5)) 514 (< eww-redirect-level 5))
515 (when-let (refresh (dom-attr dom 'content)) 515 (when-let (refresh (dom-attr dom 'content))
516 (when (or (string-match "^\\([0-9]+\\) *;.*url=\"\\([^\"]+\\)\"" refresh) 516 (when (or (string-match "^\\([0-9]+\\) *;.*url=\"\\([^\"]+\\)\"" refresh)
517 (string-match "^\\([0-9]+\\) *;.*url='\\([^']+\\)'" refresh)
517 (string-match "^\\([0-9]+\\) *;.*url=\\([^ ]+\\)" refresh)) 518 (string-match "^\\([0-9]+\\) *;.*url=\\([^ ]+\\)" refresh))
518 (let ((timeout (match-string 1 refresh)) 519 (let ((timeout (match-string 1 refresh))
519 (url (match-string 2 refresh)) 520 (url (match-string 2 refresh))
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 634c6b57bdc..68ca37207ef 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -551,14 +551,17 @@ may be any one of the following:
551 database and server) needed to connect to 551 database and server) needed to connect to
552 the database. 552 the database.
553 553
554 :sqli-comint-func name of a function which accepts no 554 :sqli-comint-func function of two arguments, PRODUCT
555 parameters that will use the values of 555 and OPTIONS, that will open a comint buffer
556 `sql-user', `sql-password', 556 and connect to the database. PRODUCT is the
557 `sql-database', `sql-server' and 557 first argument to be passed to `sql-comint',
558 `sql-port' to open a comint buffer and 558 and OPTIONS should be included in its second
559 connect to the database. Do product 559 argument. The function should use the values
560 of `sql-user', `sql-password', `sql-database',
561 `sql-server' and `sql-port' to . Do product
560 specific configuration of comint in this 562 specific configuration of comint in this
561 function. 563 function. See `sql-comint-oracle' for an
564 example of such a function.
562 565
563 :list-all Command string or function which produces 566 :list-all Command string or function which produces
564 a listing of all objects in the database. 567 a listing of all objects in the database.
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el
index 261e98eabce..9143f97dce0 100644
--- a/lisp/textmodes/rst.el
+++ b/lisp/textmodes/rst.el
@@ -293,7 +293,7 @@ in parentheses follows the development revision and the time stamp.")
293 ("1.3.0" . "24.3") 293 ("1.3.0" . "24.3")
294 ("1.3.1" . "24.3") 294 ("1.3.1" . "24.3")
295 ("1.4.0" . "24.3") 295 ("1.4.0" . "24.3")
296 ("1.4.1" . "24.5") 296 ("1.4.1" . "25.1")
297 ("1.4.2" . "24.5") 297 ("1.4.2" . "24.5")
298 ("1.5.0" . "26.1") 298 ("1.5.0" . "26.1")
299 ("1.5.1" . "26.2") 299 ("1.5.1" . "26.2")
diff --git a/src/buffer.c b/src/buffer.c
index c00cc40d6f2..ff4a500c8b7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -870,7 +870,7 @@ drop_overlay (struct buffer *b, struct Lisp_Overlay *ov)
870 870
871} 871}
872 872
873/* Delete all overlays of B and reset it's overlay lists. */ 873/* Delete all overlays of B and reset its overlay lists. */
874 874
875void 875void
876delete_all_overlays (struct buffer *b) 876delete_all_overlays (struct buffer *b)
@@ -1698,7 +1698,7 @@ cleaning up all windows currently displaying the buffer to be killed. */)
1698 if (EQ (buffer, XWINDOW (minibuf_window)->contents)) 1698 if (EQ (buffer, XWINDOW (minibuf_window)->contents))
1699 return Qnil; 1699 return Qnil;
1700 1700
1701 /* When we kill an ordinary buffer which shares it's buffer text 1701 /* When we kill an ordinary buffer which shares its buffer text
1702 with indirect buffer(s), we must kill indirect buffer(s) too. 1702 with indirect buffer(s), we must kill indirect buffer(s) too.
1703 We do it at this stage so nothing terrible happens if they 1703 We do it at this stage so nothing terrible happens if they
1704 ask questions or their hooks get errors. */ 1704 ask questions or their hooks get errors. */