diff options
| author | Glenn Morris | 2013-07-02 20:20:04 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-07-02 20:20:04 -0700 |
| commit | 1399490e2bb58e1e7212d7a8469e1286ced9423a (patch) | |
| tree | 2868e823b3ad558ba8346cf41bc6760fd3e1b78a | |
| parent | 9b057d613a30b83adcb26600118075dc81777510 (diff) | |
| parent | 208dee4daaae38f870322142388c43cff848e452 (diff) | |
| download | emacs-1399490e2bb58e1e7212d7a8469e1286ced9423a.tar.gz emacs-1399490e2bb58e1e7212d7a8469e1286ced9423a.zip | |
Merge from emacs-24; up to 2012-12-29T12:57:49Z!fgallina@gnu.org
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 2 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/emacs/help.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/maintaining.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 8 | ||||
| -rw-r--r-- | doc/lispintro/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 9 | ||||
| -rw-r--r-- | doc/lispref/debugging.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/package.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/syntax.texi | 5 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/misc/bovine.texi | 2 | ||||
| -rw-r--r-- | doc/misc/cc-mode.texi | 2 | ||||
| -rw-r--r-- | doc/misc/mh-e.texi | 2 | ||||
| -rw-r--r-- | doc/misc/url.texi | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/subr.el | 6 |
20 files changed, 63 insertions, 19 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-07-03 Christoph Egger <christoph@debian.org> (tiny change) | ||
| 2 | |||
| 3 | * configure.ac (emacs_broken_SIGIO): Set on gnu-kfreebsd to avoid hang. | ||
| 4 | http://bugs.debian.org/712974 | ||
| 5 | |||
| 1 | 2013-07-02 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2013-07-02 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Remove some unused macros from 'configure'. | 8 | Remove some unused macros from 'configure'. |
diff --git a/configure.ac b/configure.ac index 0f26ecc1150..baf8aab1406 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -3762,7 +3762,7 @@ emacs_broken_SIGIO=no | |||
| 3762 | case $opsys in | 3762 | case $opsys in |
| 3763 | dnl SIGIO exists, but the feature doesn't work in the way Emacs needs. | 3763 | dnl SIGIO exists, but the feature doesn't work in the way Emacs needs. |
| 3764 | dnl See eg <http://article.gmane.org/gmane.os.openbsd.ports/46831>. | 3764 | dnl See eg <http://article.gmane.org/gmane.os.openbsd.ports/46831>. |
| 3765 | hpux* | irix6-5 | openbsd | sol2* | unixware ) | 3765 | hpux* | irix6-5 | openbsd | sol2* | unixware | gnu-kfreebsd ) |
| 3766 | emacs_broken_SIGIO=yes | 3766 | emacs_broken_SIGIO=yes |
| 3767 | ;; | 3767 | ;; |
| 3768 | 3768 | ||
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index d5f3095908b..e634117f89c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-07-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * maintaining.texi (EDE): Fix cross-reference. | ||
| 4 | |||
| 5 | * programs.texi (Program Modes): Fix emacs-xtra reference. | ||
| 6 | |||
| 7 | * help.texi (Misc Help): Index describe-syntax. | ||
| 8 | |||
| 1 | 2013-06-29 Eli Zaretskii <eliz@gnu.org> | 9 | 2013-06-29 Eli Zaretskii <eliz@gnu.org> |
| 2 | 10 | ||
| 3 | * basic.texi (Moving Point): Document visual-order-cursor-movement | 11 | * basic.texi (Moving Point): Document visual-order-cursor-movement |
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi index 75b250d0f40..e41d68a5f51 100644 --- a/doc/emacs/help.texi +++ b/doc/emacs/help.texi | |||
| @@ -535,6 +535,8 @@ describes the commands and features that are changed in this mode. | |||
| 535 | 535 | ||
| 536 | @kindex C-h b | 536 | @kindex C-h b |
| 537 | @findex describe-bindings | 537 | @findex describe-bindings |
| 538 | @kindex C-h s | ||
| 539 | @findex describe-syntax | ||
| 538 | @kbd{C-h b} (@code{describe-bindings}) and @kbd{C-h s} | 540 | @kbd{C-h b} (@code{describe-bindings}) and @kbd{C-h s} |
| 539 | (@code{describe-syntax}) show other information about the current | 541 | (@code{describe-syntax}) show other information about the current |
| 540 | environment within Emacs. @kbd{C-h b} displays a list of all the key | 542 | environment within Emacs. @kbd{C-h b} displays a list of all the key |
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 1b6374a4133..e89660dfaf5 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -2346,7 +2346,7 @@ directory trees. The @dfn{project root} is the topmost directory of a | |||
| 2346 | project. To define a new project, visit a file in the desired project | 2346 | project. To define a new project, visit a file in the desired project |
| 2347 | root and type @kbd{M-x ede-new}. This command prompts for a | 2347 | root and type @kbd{M-x ede-new}. This command prompts for a |
| 2348 | @dfn{project type}, which refers to the underlying method that EDE | 2348 | @dfn{project type}, which refers to the underlying method that EDE |
| 2349 | will use to manage the project (@pxref{Creating a Project, EDE,, ede, | 2349 | will use to manage the project (@pxref{Creating a project, EDE,, ede, |
| 2350 | Emacs Development Environment}). The most common project types are | 2350 | Emacs Development Environment}). The most common project types are |
| 2351 | @samp{Make}, which uses Makefiles, and @samp{Automake}, which uses GNU | 2351 | @samp{Make}, which uses Makefiles, and @samp{Automake}, which uses GNU |
| 2352 | Automake (@pxref{Top, Automake,, automake, Automake}). In both cases, | 2352 | Automake (@pxref{Top, Automake,, automake, Automake}). In both cases, |
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 70eecf1c97b..8bb851e75a4 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -119,17 +119,17 @@ those specified in the mode's own mode hook (@pxref{Major Modes}). | |||
| 119 | For instance, entering C mode runs the hooks @code{prog-mode-hook} and | 119 | For instance, entering C mode runs the hooks @code{prog-mode-hook} and |
| 120 | @code{c-mode-hook}. @xref{Hooks}, for information about hooks. | 120 | @code{c-mode-hook}. @xref{Hooks}, for information about hooks. |
| 121 | 121 | ||
| 122 | @ifinfo | 122 | @ifnottex |
| 123 | Separate manuals are available for the modes for Ada (@pxref{Top,, | 123 | Separate manuals are available for the modes for Ada (@pxref{Top,, |
| 124 | Ada Mode, ada-mode, Ada Mode}), C/C++/Objective C/Java/Corba | 124 | Ada Mode, ada-mode, Ada Mode}), C/C++/Objective C/Java/Corba |
| 125 | IDL/Pike/AWK (@pxref{Top, , CC Mode, ccmode, CC Mode}), and IDLWAVE | 125 | IDL/Pike/AWK (@pxref{Top, , CC Mode, ccmode, CC Mode}), and IDLWAVE |
| 126 | (@pxref{Top,, IDLWAVE, idlwave, IDLWAVE User Manual}). | 126 | (@pxref{Top,, IDLWAVE, idlwave, IDLWAVE User Manual}). |
| 127 | @end ifinfo | 127 | @end ifnottex |
| 128 | @ifnotinfo | 128 | @iftex |
| 129 | The Emacs distribution contains Info manuals for the major modes for | 129 | The Emacs distribution contains Info manuals for the major modes for |
| 130 | Ada, C/C++/Objective C/Java/Corba IDL/Pike/AWK, and IDLWAVE@. For | 130 | Ada, C/C++/Objective C/Java/Corba IDL/Pike/AWK, and IDLWAVE@. For |
| 131 | Fortran mode, @pxref{Fortran,,, emacs-xtra, Specialized Emacs Features}. | 131 | Fortran mode, @pxref{Fortran,,, emacs-xtra, Specialized Emacs Features}. |
| 132 | @end ifnotinfo | 132 | @end iftex |
| 133 | 133 | ||
| 134 | @node Defuns | 134 | @node Defuns |
| 135 | @section Top-Level Definitions, or Defuns | 135 | @section Top-Level Definitions, or Defuns |
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index a1fd9303866..4e6c2220f0d 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-07-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp-intro.texi (edebug): Fix cross-references. | ||
| 4 | |||
| 1 | 2013-06-19 Glenn Morris <rgm@gnu.org> | 5 | 2013-06-19 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in (dist): Edit more configure variables. (Bug#14660) | 7 | * Makefile.in (dist): Edit more configure variables. (Bug#14660) |
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 221376e2353..1479573e315 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi | |||
| @@ -18483,7 +18483,7 @@ shows which line you are currently executing. | |||
| 18483 | You can walk through the execution of a function, line by line, or run | 18483 | You can walk through the execution of a function, line by line, or run |
| 18484 | quickly until reaching a @dfn{breakpoint} where execution stops. | 18484 | quickly until reaching a @dfn{breakpoint} where execution stops. |
| 18485 | 18485 | ||
| 18486 | Edebug is described in @ref{edebug, , Edebug, elisp, The GNU Emacs | 18486 | Edebug is described in @ref{Edebug, , , elisp, The GNU Emacs |
| 18487 | Lisp Reference Manual}. | 18487 | Lisp Reference Manual}. |
| 18488 | 18488 | ||
| 18489 | @need 1250 | 18489 | @need 1250 |
| @@ -18610,7 +18610,7 @@ error or at specified stopping points; you can cause it to display the | |||
| 18610 | changing values of various expressions; you can find out how many | 18610 | changing values of various expressions; you can find out how many |
| 18611 | times a function is called, and more. | 18611 | times a function is called, and more. |
| 18612 | 18612 | ||
| 18613 | Edebug is described in @ref{edebug, , Edebug, elisp, The GNU Emacs | 18613 | Edebug is described in @ref{Edebug, , , elisp, The GNU Emacs |
| 18614 | Lisp Reference Manual}. | 18614 | Lisp Reference Manual}. |
| 18615 | 18615 | ||
| 18616 | @need 1500 | 18616 | @need 1500 |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index dc0c1564735..aab609b16ac 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2013-07-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * debugging.texi (Debugging): | ||
| 4 | * files.texi (File Attributes, Changing Files): Fix cross-references. | ||
| 5 | |||
| 6 | * package.texi (Package Archives): Fix @url call. | ||
| 7 | |||
| 8 | * syntax.texi (Syntax Table Functions): Mention describe-syntax. | ||
| 9 | |||
| 1 | 2013-06-29 Eli Zaretskii <eliz@gnu.org> | 10 | 2013-06-29 Eli Zaretskii <eliz@gnu.org> |
| 2 | 11 | ||
| 3 | * display.texi (Bidirectional Display): Document move-point-visually. | 12 | * display.texi (Bidirectional Display): Document move-point-visually. |
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 24629465525..335e3f802d2 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -32,7 +32,7 @@ program. | |||
| 32 | 32 | ||
| 33 | @item | 33 | @item |
| 34 | You can use the ERT package to write regression tests for the program. | 34 | You can use the ERT package to write regression tests for the program. |
| 35 | @xref{Top,the ERT manual,, ERT, ERT: Emacs Lisp Regression Testing}. | 35 | @xref{Top,the ERT manual,, ert, ERT: Emacs Lisp Regression Testing}. |
| 36 | 36 | ||
| 37 | @item | 37 | @item |
| 38 | You can profile the program to get hints about how to make it more efficient. | 38 | You can profile the program to get hints about how to make it more efficient. |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 704ecfb6446..951d55ac90f 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1115,7 +1115,7 @@ permissions} of @var{filename}, as an integer. It recursively follows | |||
| 1115 | symbolic links in @var{filename} at all levels. If @var{filename} | 1115 | symbolic links in @var{filename} at all levels. If @var{filename} |
| 1116 | does not exist, the return value is @code{nil}. | 1116 | does not exist, the return value is @code{nil}. |
| 1117 | 1117 | ||
| 1118 | @xref{File Permissions,,, coreutils, The @sc{gnu} @code{Coreutils} | 1118 | @xref{File permissions,,, coreutils, The @sc{gnu} @code{Coreutils} |
| 1119 | Manual}, for a description of mode bits. If the low-order bit is 1, | 1119 | Manual}, for a description of mode bits. If the low-order bit is 1, |
| 1120 | then the file is executable by all users, if the second-lowest-order | 1120 | then the file is executable by all users, if the second-lowest-order |
| 1121 | bit is 1, then the file is writable by all users, etc. The highest | 1121 | bit is 1, then the file is writable by all users, etc. The highest |
| @@ -1625,7 +1625,7 @@ octal numbers to enter @var{mode}. For example, | |||
| 1625 | @noindent | 1625 | @noindent |
| 1626 | specifies that the file should be readable and writable for its owner, | 1626 | specifies that the file should be readable and writable for its owner, |
| 1627 | readable for group members, and readable for all other users. | 1627 | readable for group members, and readable for all other users. |
| 1628 | @xref{File Permissions,,, coreutils, The @sc{gnu} @code{Coreutils} | 1628 | @xref{File permissions,,, coreutils, The @sc{gnu} @code{Coreutils} |
| 1629 | Manual}, for a description of mode bit specifications. | 1629 | Manual}, for a description of mode bit specifications. |
| 1630 | 1630 | ||
| 1631 | Interactively, @var{mode} is read from the minibuffer using | 1631 | Interactively, @var{mode} is read from the minibuffer using |
| @@ -1676,7 +1676,7 @@ the permissions on which the specification is based are taken from the | |||
| 1676 | mode bits of @var{base-file}. If @var{base-file} is omitted or | 1676 | mode bits of @var{base-file}. If @var{base-file} is omitted or |
| 1677 | @code{nil}, the function uses @code{0} as the base mode bits. The | 1677 | @code{nil}, the function uses @code{0} as the base mode bits. The |
| 1678 | complete and relative specifications can be combined, as in | 1678 | complete and relative specifications can be combined, as in |
| 1679 | @code{"u+r,g+rx,o+r,g-w"}. @xref{File Permissions,,, coreutils, The | 1679 | @code{"u+r,g+rx,o+r,g-w"}. @xref{File permissions,,, coreutils, The |
| 1680 | @sc{gnu} @code{Coreutils} Manual}, for a description of file mode | 1680 | @sc{gnu} @code{Coreutils} Manual}, for a description of file mode |
| 1681 | specifications. | 1681 | specifications. |
| 1682 | @end defun | 1682 | @end defun |
diff --git a/doc/lispref/package.texi b/doc/lispref/package.texi index ad9f4fc1aea..f4d6b590c77 100644 --- a/doc/lispref/package.texi +++ b/doc/lispref/package.texi | |||
| @@ -265,7 +265,7 @@ variable @code{load-file-name} (@pxref{Loading}). Here is an example: | |||
| 265 | Via the Package Menu, users may download packages from @dfn{package | 265 | Via the Package Menu, users may download packages from @dfn{package |
| 266 | archives}. Such archives are specified by the variable | 266 | archives}. Such archives are specified by the variable |
| 267 | @code{package-archives}, whose default value contains a single entry: | 267 | @code{package-archives}, whose default value contains a single entry: |
| 268 | the archive hosted by the GNU project at @url{elpa.gnu.org}. This | 268 | the archive hosted by the GNU project at @url{http://elpa.gnu.org}. This |
| 269 | section describes how to set up and maintain a package archive. | 269 | section describes how to set up and maintain a package archive. |
| 270 | 270 | ||
| 271 | @cindex base location, package archive | 271 | @cindex base location, package archive |
diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi index dfa121103bc..6bbd7a3a7b7 100644 --- a/doc/lispref/syntax.texi +++ b/doc/lispref/syntax.texi | |||
| @@ -506,6 +506,11 @@ This function returns the current syntax table, which is the table for | |||
| 506 | the current buffer. | 506 | the current buffer. |
| 507 | @end defun | 507 | @end defun |
| 508 | 508 | ||
| 509 | @deffn Command describe-syntax &optional buffer | ||
| 510 | This command displays the contents of the syntax table of | ||
| 511 | @var{buffer} (by default, the current buffer) in a help buffer. | ||
| 512 | @end deffn | ||
| 513 | |||
| 509 | @defmac with-syntax-table table body@dots{} | 514 | @defmac with-syntax-table table body@dots{} |
| 510 | This macro executes @var{body} using @var{table} as the current syntax | 515 | This macro executes @var{body} using @var{table} as the current syntax |
| 511 | table. It returns the value of the last form in @var{body}, after | 516 | table. It returns the value of the last form in @var{body}, after |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index d0f229a9c9e..ef9bf827acf 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-07-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * bovine.texi (top): | ||
| 4 | * cc-mode.texi (AWK Mode Font Locking): | ||
| 5 | * mh-e.texi (Preface): | ||
| 6 | * url.texi (URI Parsing): Fix cross-references to other manuals. | ||
| 7 | |||
| 1 | 2013-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> | 8 | 2013-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 9 | ||
| 3 | * gnus.texi (Client-Side IMAP Splitting): | 10 | * gnus.texi (Client-Side IMAP Splitting): |
diff --git a/doc/misc/bovine.texi b/doc/misc/bovine.texi index 978345e5cc8..81ec2eb80ec 100644 --- a/doc/misc/bovine.texi +++ b/doc/misc/bovine.texi | |||
| @@ -76,7 +76,7 @@ The @dfn{bovine} parser is the original @semantic{} parser, and is an | |||
| 76 | implementation of an @acronym{LL} parser. It is good for simple | 76 | implementation of an @acronym{LL} parser. It is good for simple |
| 77 | languages. It has many conveniences making grammar writing easy. The | 77 | languages. It has many conveniences making grammar writing easy. The |
| 78 | conveniences make it less powerful than a Bison-like @acronym{LALR} | 78 | conveniences make it less powerful than a Bison-like @acronym{LALR} |
| 79 | parser. For more information, @inforef{top, the Wisent Parser Manual, | 79 | parser. For more information, @inforef{Top, The Wisent Parser Manual, |
| 80 | wisent}. | 80 | wisent}. |
| 81 | 81 | ||
| 82 | Bovine @acronym{LL} grammars are stored in files with a @file{.by} | 82 | Bovine @acronym{LL} grammars are stored in files with a @file{.by} |
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 4fa4e12cf88..4cc5d9c5767 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi | |||
| @@ -2111,7 +2111,7 @@ contributing it: send a note to @email{bug-cc-mode@@gnu.org}. | |||
| 2111 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 2111 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 2112 | 2112 | ||
| 2113 | The general appearance of font-locking in AWK mode is much like in any | 2113 | The general appearance of font-locking in AWK mode is much like in any |
| 2114 | other programming mode. @xref{Faces For Font Lock,,,elisp, GNU Emacs | 2114 | other programming mode. @xref{Faces for Font Lock,,,elisp, GNU Emacs |
| 2115 | Lisp Reference Manual}. | 2115 | Lisp Reference Manual}. |
| 2116 | 2116 | ||
| 2117 | The following faces are, however, used in a non-standard fashion in | 2117 | The following faces are, however, used in a non-standard fashion in |
diff --git a/doc/misc/mh-e.texi b/doc/misc/mh-e.texi index 154120f2e3b..353cc17fe69 100644 --- a/doc/misc/mh-e.texi +++ b/doc/misc/mh-e.texi | |||
| @@ -233,7 +233,7 @@ read an online tutorial by starting GNU Emacs and typing @kbd{C-h t} | |||
| 233 | @cite{GNU Emacs Manual}, | 233 | @cite{GNU Emacs Manual}, |
| 234 | @end iftex | 234 | @end iftex |
| 235 | @ifinfo | 235 | @ifinfo |
| 236 | @ref{top, , GNU Emacs Manual, emacs, GNU Emacs Manual}, | 236 | @ref{Top, , GNU Emacs Manual, emacs, GNU Emacs Manual}, |
| 237 | @end ifinfo | 237 | @end ifinfo |
| 238 | @ifhtml | 238 | @ifhtml |
| 239 | @uref{http://www.gnu.org/software/emacs/manual/html_node/emacs/, | 239 | @uref{http://www.gnu.org/software/emacs/manual/html_node/emacs/, |
diff --git a/doc/misc/url.texi b/doc/misc/url.texi index 49f8f3f0959..fdec68b1c61 100644 --- a/doc/misc/url.texi +++ b/doc/misc/url.texi | |||
| @@ -138,7 +138,7 @@ Given a parsed URI, this function returns the corresponding URI string. | |||
| 138 | The return value of @code{url-generic-parse-url}, and the argument | 138 | The return value of @code{url-generic-parse-url}, and the argument |
| 139 | expected by @code{url-recreate-url}, is a @dfn{parsed URI}: a CL | 139 | expected by @code{url-recreate-url}, is a @dfn{parsed URI}: a CL |
| 140 | structure whose slots hold the various components of the URI@. | 140 | structure whose slots hold the various components of the URI@. |
| 141 | @xref{top,the CL Manual,,cl,GNU Emacs Common Lisp Emulation}, for | 141 | @xref{Top,the CL Manual,,cl,GNU Emacs Common Lisp Emulation}, for |
| 142 | details about CL structures. Most of the other functions in the | 142 | details about CL structures. Most of the other functions in the |
| 143 | @code{url} library act on parsed URIs. | 143 | @code{url} library act on parsed URIs. |
| 144 | 144 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8327fb03b4e..9e746b25146 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-07-03 Glenn Morris <rgm@gnu.org> | 1 | 2013-07-03 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770) | ||
| 4 | |||
| 3 | Make info-xref checks case-sensitive by default | 5 | Make info-xref checks case-sensitive by default |
| 4 | * info.el (Info-find-node, Info-find-in-tag-table) | 6 | * info.el (Info-find-node, Info-find-in-tag-table) |
| 5 | (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node): | 7 | (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node): |
diff --git a/lisp/subr.el b/lisp/subr.el index b8a62023805..55cdcb45f50 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -2240,7 +2240,8 @@ is nil and `use-dialog-box' is non-nil." | |||
| 2240 | (cond | 2240 | (cond |
| 2241 | (noninteractive | 2241 | (noninteractive |
| 2242 | (setq prompt (concat prompt | 2242 | (setq prompt (concat prompt |
| 2243 | (if (eq ?\s (aref prompt (1- (length prompt)))) | 2243 | (if (or (zerop (length prompt)) |
| 2244 | (eq ?\s (aref prompt (1- (length prompt))))) | ||
| 2244 | "" " ") | 2245 | "" " ") |
| 2245 | "(y or n) ")) | 2246 | "(y or n) ")) |
| 2246 | (let ((temp-prompt prompt)) | 2247 | (let ((temp-prompt prompt)) |
| @@ -2257,7 +2258,8 @@ is nil and `use-dialog-box' is non-nil." | |||
| 2257 | (x-popup-dialog t `(,prompt ("Yes" . act) ("No" . skip))))) | 2258 | (x-popup-dialog t `(,prompt ("Yes" . act) ("No" . skip))))) |
| 2258 | (t | 2259 | (t |
| 2259 | (setq prompt (concat prompt | 2260 | (setq prompt (concat prompt |
| 2260 | (if (eq ?\s (aref prompt (1- (length prompt)))) | 2261 | (if (or (zerop (length prompt)) |
| 2262 | (eq ?\s (aref prompt (1- (length prompt))))) | ||
| 2261 | "" " ") | 2263 | "" " ") |
| 2262 | "(y or n) ")) | 2264 | "(y or n) ")) |
| 2263 | (while | 2265 | (while |