diff options
| author | Glenn Morris | 2018-07-07 09:27:44 -0700 |
|---|---|---|
| committer | Glenn Morris | 2018-07-07 09:27:44 -0700 |
| commit | d3e0fdc24f85de3b33de007b8e1ca24560559d9b (patch) | |
| tree | 751ecc26bd89a0b0d6b9b7a49f299c43fff0a445 /lisp | |
| parent | 77166e0da2d58f2f6436989b7059d913be5b3439 (diff) | |
| parent | a427de9c86ed31b1fd7599664b3fea0733e633ee (diff) | |
| download | emacs-d3e0fdc24f85de3b33de007b8e1ca24560559d9b.tar.gz emacs-d3e0fdc24f85de3b33de007b8e1ca24560559d9b.zip | |
Merge from origin/emacs-26
a427de9 (origin/emacs-26) Fix bug #11732
3a04e15 Improve documentation of 'emacs-lock-mode'
9d6ca5a * lisp/imenu.el (imenu-generic-expression): Doc fix. (Bug#32...
fdd7e7d Improve indexing of 'eval-defun' in ELisp manual
10af989 Fix (length CIRCULAR) documentation
271d1f7 Tramp editorials
4abf94f Clarify and improve doc strings of 'eval-last-sexp' and friends
6cfc7a7 Automate upload of Emacs manuals to gnu.org
b73cde5 Fix MH-E mail composition with GNU Mailutils (SF#485)
0dce5e5 Speed up 'replace-buffer-contents' some more
00fdce0 * doc/emacs/docstyle.texi: Avoid messing up the html output.
Conflicts:
admin/make-tarball.txt
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lock.el | 10 | ||||
| -rw-r--r-- | lisp/imenu.el | 6 | ||||
| -rw-r--r-- | lisp/mh-e/mh-comp.el | 6 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/elisp-mode.el | 10 | ||||
| -rw-r--r-- | lisp/simple.el | 8 |
6 files changed, 25 insertions, 17 deletions
diff --git a/lisp/emacs-lock.el b/lisp/emacs-lock.el index 0733c3326c9..1ff69cc7fc7 100644 --- a/lisp/emacs-lock.el +++ b/lisp/emacs-lock.el | |||
| @@ -97,7 +97,10 @@ It can be one of the following values: | |||
| 97 | exit -- Emacs cannot exit while the buffer is locked | 97 | exit -- Emacs cannot exit while the buffer is locked |
| 98 | kill -- the buffer cannot be killed, but Emacs can exit as usual | 98 | kill -- the buffer cannot be killed, but Emacs can exit as usual |
| 99 | all -- the buffer is locked against both actions | 99 | all -- the buffer is locked against both actions |
| 100 | nil -- the buffer is not locked") | 100 | nil -- the buffer is not locked |
| 101 | |||
| 102 | See also `emacs-lock-unlockable-modes', which exempts buffers under | ||
| 103 | some major modes from being locked under some circumstances.") | ||
| 101 | (put 'emacs-lock-mode 'permanent-local t) | 104 | (put 'emacs-lock-mode 'permanent-local t) |
| 102 | 105 | ||
| 103 | (defvar-local emacs-lock--old-mode nil | 106 | (defvar-local emacs-lock--old-mode nil |
| @@ -202,7 +205,10 @@ When called from Elisp code, ARG can be any locking mode: | |||
| 202 | kill -- the buffer cannot be killed, but Emacs can exit as usual | 205 | kill -- the buffer cannot be killed, but Emacs can exit as usual |
| 203 | all -- the buffer is locked against both actions | 206 | all -- the buffer is locked against both actions |
| 204 | 207 | ||
| 205 | Other values are interpreted as usual." | 208 | Other values are interpreted as usual. |
| 209 | |||
| 210 | See also `emacs-lock-unlockable-modes', which exempts buffers under | ||
| 211 | some major modes from being locked under some circumstances." | ||
| 206 | :init-value nil | 212 | :init-value nil |
| 207 | :lighter ("" | 213 | :lighter ("" |
| 208 | (emacs-lock--try-unlocking " locked:" " Locked:") | 214 | (emacs-lock--try-unlocking " locked:" " Locked:") |
diff --git a/lisp/imenu.el b/lisp/imenu.el index 7d4363993de..c0103dbc4c2 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -200,9 +200,9 @@ string (which specifies the title of a submenu into which the | |||
| 200 | matches are put). | 200 | matches are put). |
| 201 | REGEXP is a regular expression matching a definition construct | 201 | REGEXP is a regular expression matching a definition construct |
| 202 | which is to be displayed in the menu. REGEXP may also be a | 202 | which is to be displayed in the menu. REGEXP may also be a |
| 203 | function, called without arguments. It is expected to search | 203 | function of no arguments. If REGEXP is a function, it is |
| 204 | backwards. It must return true and set `match-data' if it finds | 204 | expected to search backwards, return non-nil if it finds a |
| 205 | another element. | 205 | definition construct, and set `match-data' for that construct. |
| 206 | INDEX is an integer specifying which subexpression of REGEXP | 206 | INDEX is an integer specifying which subexpression of REGEXP |
| 207 | matches the definition's name; this subexpression is displayed as | 207 | matches the definition's name; this subexpression is displayed as |
| 208 | the menu item. | 208 | the menu item. |
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index 1a77daff9b7..2b49fae2a6d 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el | |||
| @@ -927,8 +927,10 @@ CONFIG is the window configuration before sending mail." | |||
| 927 | (list "-form" mh-comp-formfile))) | 927 | (list "-form" mh-comp-formfile))) |
| 928 | (setq new (make-temp-file "comp.")) | 928 | (setq new (make-temp-file "comp.")) |
| 929 | (rename-file (concat temp-folder "/" "1") new t) | 929 | (rename-file (concat temp-folder "/" "1") new t) |
| 930 | (delete-file (concat temp-folder "/" ".mh_sequences")) | 930 | ;; The temp folder could contain various metadata files. Rather |
| 931 | (delete-directory temp-folder) | 931 | ;; than trying to enumerate all the known files, just do a |
| 932 | ;; recursive delete on the directory. | ||
| 933 | (delete-directory temp-folder t) | ||
| 932 | new)) | 934 | new)) |
| 933 | 935 | ||
| 934 | (defun mh-read-draft (use initial-contents delete-contents-file) | 936 | (defun mh-read-draft (use initial-contents delete-contents-file) |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index a400a3c5277..2d253506dde 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -544,7 +544,7 @@ The PATH environment variable should be set via `tramp-remote-path'. | |||
| 544 | The TERM environment variable should be set via `tramp-terminal-type'. | 544 | The TERM environment variable should be set via `tramp-terminal-type'. |
| 545 | 545 | ||
| 546 | The INSIDE_EMACS environment variable will automatically be set | 546 | The INSIDE_EMACS environment variable will automatically be set |
| 547 | based on the TRAMP and Emacs versions, and should not be set here." | 547 | based on the Tramp and Emacs versions, and should not be set here." |
| 548 | :group 'tramp | 548 | :group 'tramp |
| 549 | :version "26.1" | 549 | :version "26.1" |
| 550 | :type '(repeat string)) | 550 | :type '(repeat string)) |
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 8eded03b9c4..58a58b46395 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el | |||
| @@ -1191,11 +1191,11 @@ current buffer. | |||
| 1191 | Normally, this function truncates long output according to the | 1191 | Normally, this function truncates long output according to the |
| 1192 | value of the variables `eval-expression-print-length' and | 1192 | value of the variables `eval-expression-print-length' and |
| 1193 | `eval-expression-print-level'. With a prefix argument of zero, | 1193 | `eval-expression-print-level'. With a prefix argument of zero, |
| 1194 | however, there is no such truncation. Such a prefix argument | 1194 | however, there is no such truncation. |
| 1195 | also causes integers to be printed in several additional formats | 1195 | Integer values are printed in several formats (decimal, octal, |
| 1196 | \(octal, hexadecimal, and character when the prefix argument is | 1196 | and hexadecimal). When the prefix argument is -1 or the value |
| 1197 | -1 or the integer is `eval-expression-print-maximum-character' or | 1197 | doesn't exceed `eval-expression-print-maximum-character', an |
| 1198 | less). | 1198 | integer value is also printed as a character of that codepoint. |
| 1199 | 1199 | ||
| 1200 | If `eval-expression-debug-on-error' is non-nil, which is the default, | 1200 | If `eval-expression-debug-on-error' is non-nil, which is the default, |
| 1201 | this command arranges for all errors to enter the debugger." | 1201 | this command arranges for all errors to enter the debugger." |
diff --git a/lisp/simple.el b/lisp/simple.el index e98cea78d4f..6459531a4ec 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1528,9 +1528,9 @@ This affects printing by `eval-expression' (via | |||
| 1528 | :version "26.1") | 1528 | :version "26.1") |
| 1529 | 1529 | ||
| 1530 | (defun eval-expression-print-format (value) | 1530 | (defun eval-expression-print-format (value) |
| 1531 | "If VALUE in an integer, return a specially formatted string. | 1531 | "If VALUE is an integer, return a specially formatted string. |
| 1532 | This string will typically look like \" (#o1, #x1, ?\\C-a)\". | 1532 | This string will typically look like \" (#o1, #x1, ?\\C-a)\". |
| 1533 | If VALUE is not an integer, nil is returned. | 1533 | If VALUE is not an integer, return nil. |
| 1534 | This function is used by commands like `eval-expression' that | 1534 | This function is used by commands like `eval-expression' that |
| 1535 | display the result of expression evaluation." | 1535 | display the result of expression evaluation." |
| 1536 | (when (integerp value) | 1536 | (when (integerp value) |
| @@ -1591,11 +1591,11 @@ non-nil (interactively, with a prefix argument of zero), however, | |||
| 1591 | there is no such truncation. | 1591 | there is no such truncation. |
| 1592 | 1592 | ||
| 1593 | If the resulting value is an integer, and CHAR-PRINT-LIMIT is | 1593 | If the resulting value is an integer, and CHAR-PRINT-LIMIT is |
| 1594 | non-nil (interactively, unless given a positive prefix argument) | 1594 | non-nil (interactively, unless given a non-zero prefix argument) |
| 1595 | it will be printed in several additional formats (octal, | 1595 | it will be printed in several additional formats (octal, |
| 1596 | hexadecimal, and character). The character format is only used | 1596 | hexadecimal, and character). The character format is only used |
| 1597 | if the value is below CHAR-PRINT-LIMIT (interactively, if the | 1597 | if the value is below CHAR-PRINT-LIMIT (interactively, if the |
| 1598 | prefix argument is -1 or the value is below | 1598 | prefix argument is -1 or the value doesn't exceed |
| 1599 | `eval-expression-print-maximum-character'). | 1599 | `eval-expression-print-maximum-character'). |
| 1600 | 1600 | ||
| 1601 | Runs the hook `eval-expression-minibuffer-setup-hook' on entering the | 1601 | Runs the hook `eval-expression-minibuffer-setup-hook' on entering the |