diff options
| author | John Wiegley | 2016-01-18 22:56:33 -0800 |
|---|---|---|
| committer | John Wiegley | 2016-01-18 22:56:33 -0800 |
| commit | 6acd2aa02c6f0eb9d3fadce0bb48183837beafd8 (patch) | |
| tree | d236a14dc554951c3e7c5a5b38a3bd98edc1315a /lisp | |
| parent | 564c84f4b12482aefe86539d2471607565c3ee7c (diff) | |
| parent | 549a765efeca2748e68a5c6ce6c9238784e82535 (diff) | |
| download | emacs-6acd2aa02c6f0eb9d3fadce0bb48183837beafd8.tar.gz emacs-6acd2aa02c6f0eb9d3fadce0bb48183837beafd8.zip | |
-
Diffstat (limited to 'lisp')
34 files changed, 105 insertions, 80 deletions
diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el index 30320b00946..ce367485c16 100644 --- a/lisp/cedet/mode-local.el +++ b/lisp/cedet/mode-local.el | |||
| @@ -670,7 +670,7 @@ SYMBOL is a function that can be overridden." | |||
| 670 | 670 | ||
| 671 | (add-hook 'help-fns-describe-function-functions 'describe-mode-local-overload) | 671 | (add-hook 'help-fns-describe-function-functions 'describe-mode-local-overload) |
| 672 | 672 | ||
| 673 | (declare-function xref-item-location "xref" (xref)) | 673 | (declare-function xref-item-location "xref" (xref) t) |
| 674 | 674 | ||
| 675 | (defun xref-mode-local--override-present (sym xrefs) | 675 | (defun xref-mode-local--override-present (sym xrefs) |
| 676 | "Return non-nil if SYM is in XREFS." | 676 | "Return non-nil if SYM is in XREFS." |
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index dcc697e1b9a..a352ed0849c 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el | |||
| @@ -322,7 +322,7 @@ This function is semi-obsolete. Use `get-char-code-property'." | |||
| 322 | (nth 13 fields) 16))))))))))) | 322 | (nth 13 fields) 16))))))))))) |
| 323 | 323 | ||
| 324 | ;; Not defined on builds without X, but behind display-graphic-p. | 324 | ;; Not defined on builds without X, but behind display-graphic-p. |
| 325 | (declare-function internal-char-font "fontset.c" (position &optional ch)) | 325 | (declare-function internal-char-font "font.c" (position &optional ch)) |
| 326 | 326 | ||
| 327 | ;; Return information about how CHAR is displayed at the buffer | 327 | ;; Return information about how CHAR is displayed at the buffer |
| 328 | ;; position POS. If the selected frame is on a graphic display, | 328 | ;; position POS. If the selected frame is on a graphic display, |
diff --git a/lisp/electric.el b/lisp/electric.el index abddd986ef8..ab79943c9dd 100644 --- a/lisp/electric.el +++ b/lisp/electric.el | |||
| @@ -417,14 +417,17 @@ The variable `electric-layout-rules' says when and how to insert newlines." | |||
| 417 | 417 | ||
| 418 | (defcustom electric-quote-comment t | 418 | (defcustom electric-quote-comment t |
| 419 | "Non-nil means to use electric quoting in program comments." | 419 | "Non-nil means to use electric quoting in program comments." |
| 420 | :version "25.1" | ||
| 420 | :type 'boolean :safe 'booleanp :group 'electricity) | 421 | :type 'boolean :safe 'booleanp :group 'electricity) |
| 421 | 422 | ||
| 422 | (defcustom electric-quote-string nil | 423 | (defcustom electric-quote-string nil |
| 423 | "Non-nil means to use electric quoting in program strings." | 424 | "Non-nil means to use electric quoting in program strings." |
| 425 | :version "25.1" | ||
| 424 | :type 'boolean :safe 'booleanp :group 'electricity) | 426 | :type 'boolean :safe 'booleanp :group 'electricity) |
| 425 | 427 | ||
| 426 | (defcustom electric-quote-paragraph t | 428 | (defcustom electric-quote-paragraph t |
| 427 | "Non-nil means to use electric quoting in text paragraphs." | 429 | "Non-nil means to use electric quoting in text paragraphs." |
| 430 | :version "25.1" | ||
| 428 | :type 'boolean :safe 'booleanp :group 'electricity) | 431 | :type 'boolean :safe 'booleanp :group 'electricity) |
| 429 | 432 | ||
| 430 | (defun electric--insertable-p (string) | 433 | (defun electric--insertable-p (string) |
diff --git a/lisp/emacs-lisp/check-declare.el b/lisp/emacs-lisp/check-declare.el index 513aa319798..b6fa0546088 100644 --- a/lisp/emacs-lisp/check-declare.el +++ b/lisp/emacs-lisp/check-declare.el | |||
| @@ -131,6 +131,7 @@ With optional argument FULL, sums the number of elements in each element." | |||
| 131 | 131 | ||
| 132 | (defcustom check-declare-ext-errors nil | 132 | (defcustom check-declare-ext-errors nil |
| 133 | "When non-nil, warn about functions not found in :ext." | 133 | "When non-nil, warn about functions not found in :ext." |
| 134 | :version "25.1" | ||
| 134 | :type 'boolean) | 135 | :type 'boolean) |
| 135 | 136 | ||
| 136 | (defun check-declare-verify (fnfile fnlist) | 137 | (defun check-declare-verify (fnfile fnlist) |
diff --git a/lisp/emacs-lisp/cursor-sensor.el b/lisp/emacs-lisp/cursor-sensor.el index 70c4458d300..ac063d4896a 100644 --- a/lisp/emacs-lisp/cursor-sensor.el +++ b/lisp/emacs-lisp/cursor-sensor.el | |||
| @@ -167,8 +167,8 @@ | |||
| 167 | This property should hold a list of functions which react to the motion | 167 | This property should hold a list of functions which react to the motion |
| 168 | of the cursor. They're called with three arguments (WINDOW OLDPOS DIR) | 168 | of the cursor. They're called with three arguments (WINDOW OLDPOS DIR) |
| 169 | where WINDOW is the affected window, OLDPOS is the last known position of | 169 | where WINDOW is the affected window, OLDPOS is the last known position of |
| 170 | the cursor and DIR can be `left' or `entered' depending on whether the cursor is | 170 | the cursor and DIR can be `entered' or `left' depending on whether the cursor |
| 171 | entering the area covered by the text-property property or leaving it." | 171 | is entering the area covered by the text-property property or leaving it." |
| 172 | nil nil nil | 172 | nil nil nil |
| 173 | (if cursor-sensor-mode | 173 | (if cursor-sensor-mode |
| 174 | (add-hook 'pre-redisplay-functions #'cursor-sensor--detect | 174 | (add-hook 'pre-redisplay-functions #'cursor-sensor--detect |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 057d01488cc..08f64147d44 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -329,6 +329,7 @@ by running `package-install-selected-packages'. | |||
| 329 | To check if a package is contained in this list here, use | 329 | To check if a package is contained in this list here, use |
| 330 | `package--user-selected-p', as it may populate the variable with | 330 | `package--user-selected-p', as it may populate the variable with |
| 331 | a sane initial value." | 331 | a sane initial value." |
| 332 | :version "25.1" | ||
| 332 | :type '(repeat symbol)) | 333 | :type '(repeat symbol)) |
| 333 | 334 | ||
| 334 | (defcustom package-menu-async t | 335 | (defcustom package-menu-async t |
| @@ -2654,6 +2655,7 @@ omitted from the package menu. To toggle this, type \\[package-menu-toggle-hidi | |||
| 2654 | 2655 | ||
| 2655 | Values can be interactively added to this list by typing | 2656 | Values can be interactively added to this list by typing |
| 2656 | \\[package-menu-hide-package] on a package" | 2657 | \\[package-menu-hide-package] on a package" |
| 2658 | :version "25.1" | ||
| 2657 | :type '(repeat (regexp :tag "Hide packages with name matching"))) | 2659 | :type '(repeat (regexp :tag "Hide packages with name matching"))) |
| 2658 | 2660 | ||
| 2659 | (defun package-menu--refresh (&optional packages keywords) | 2661 | (defun package-menu--refresh (&optional packages keywords) |
diff --git a/lisp/epg-config.el b/lisp/epg-config.el index 5fac079d3c0..e92bcd62a66 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el | |||
| @@ -53,6 +53,7 @@ | |||
| 53 | 53 | ||
| 54 | (defcustom epg-gpgconf-program "gpgconf" | 54 | (defcustom epg-gpgconf-program "gpgconf" |
| 55 | "The `gpgconf' executable." | 55 | "The `gpgconf' executable." |
| 56 | :version "25.1" | ||
| 56 | :group 'epg | 57 | :group 'epg |
| 57 | :type 'string) | 58 | :type 'string) |
| 58 | 59 | ||
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 3824c195d39..56317b83a98 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -265,14 +265,16 @@ A typical value would be \(\"JOIN\" \"PART\" \"QUIT\")." | |||
| 265 | (defcustom erc-network-hide-list nil | 265 | (defcustom erc-network-hide-list nil |
| 266 | "A list of IRC networks to hide message types from. | 266 | "A list of IRC networks to hide message types from. |
| 267 | A typical value would be \((\"freenode\" \"MODE\") | 267 | A typical value would be \((\"freenode\" \"MODE\") |
| 268 | (\"OFTC\" \"JOIN\" \"QUIT\"))." | 268 | \(\"OFTC\" \"JOIN\" \"QUIT\"))." |
| 269 | :version "25.1" | ||
| 269 | :group 'erc-ignore | 270 | :group 'erc-ignore |
| 270 | :type 'erc-message-type) | 271 | :type 'erc-message-type) |
| 271 | 272 | ||
| 272 | (defcustom erc-channel-hide-list nil | 273 | (defcustom erc-channel-hide-list nil |
| 273 | "A list of IRC channels to hide message types from. | 274 | "A list of IRC channels to hide message types from. |
| 274 | A typical value would be \((\"#emacs\" \"QUIT\" \"JOIN\") | 275 | A typical value would be \((\"#emacs\" \"QUIT\" \"JOIN\") |
| 275 | (\"#erc\" \"NICK\")." | 276 | \(\"#erc\" \"NICK\")." |
| 277 | :version "25.1" | ||
| 276 | :group 'erc-ignore | 278 | :group 'erc-ignore |
| 277 | :type 'erc-message-type) | 279 | :type 'erc-message-type) |
| 278 | 280 | ||
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el index aabc5fdb1a2..3e5de0c0097 100644 --- a/lisp/eshell/em-term.el +++ b/lisp/eshell/em-term.el | |||
| @@ -136,6 +136,7 @@ character to the invoked process." | |||
| 136 | "If non-nil, term buffers are destroyed after their processes die. | 136 | "If non-nil, term buffers are destroyed after their processes die. |
| 137 | WARNING: Setting this to non-nil may result in unexpected | 137 | WARNING: Setting this to non-nil may result in unexpected |
| 138 | behavior for short-lived processes, see bug#18108." | 138 | behavior for short-lived processes, see bug#18108." |
| 139 | :version "25.1" | ||
| 139 | :type 'boolean | 140 | :type 'boolean |
| 140 | :group 'eshell-term) | 141 | :group 'eshell-term) |
| 141 | 142 | ||
diff --git a/lisp/gnus/gnus-fun.el b/lisp/gnus/gnus-fun.el index fa78b5c6e15..a6b27300233 100644 --- a/lisp/gnus/gnus-fun.el +++ b/lisp/gnus/gnus-fun.el | |||
| @@ -44,7 +44,7 @@ | |||
| 44 | "Regexp to match faces in `gnus-x-face-directory' to be omitted." | 44 | "Regexp to match faces in `gnus-x-face-directory' to be omitted." |
| 45 | :version "25.1" | 45 | :version "25.1" |
| 46 | :group 'gnus-fun | 46 | :group 'gnus-fun |
| 47 | :type 'string) | 47 | :type '(choice (const nil) string)) |
| 48 | 48 | ||
| 49 | (defcustom gnus-face-directory (expand-file-name "faces" gnus-directory) | 49 | (defcustom gnus-face-directory (expand-file-name "faces" gnus-directory) |
| 50 | "*Directory where Face PNG files are stored." | 50 | "*Directory where Face PNG files are stored." |
| @@ -56,7 +56,7 @@ | |||
| 56 | "Regexp to match faces in `gnus-face-directory' to be omitted." | 56 | "Regexp to match faces in `gnus-face-directory' to be omitted." |
| 57 | :version "25.1" | 57 | :version "25.1" |
| 58 | :group 'gnus-fun | 58 | :group 'gnus-fun |
| 59 | :type 'string) | 59 | :type '(choice (const nil) string)) |
| 60 | 60 | ||
| 61 | (defcustom gnus-convert-pbm-to-x-face-command "pbmtoxbm %s | compface" | 61 | (defcustom gnus-convert-pbm-to-x-face-command "pbmtoxbm %s | compface" |
| 62 | "Command for converting a PBM to an X-Face." | 62 | "Command for converting a PBM to an X-Face." |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 1196ea9dfec..5d2ce7ee19f 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -1637,6 +1637,7 @@ this variable. I think." | |||
| 1637 | (const post-mail)) | 1637 | (const post-mail)) |
| 1638 | (checklist :inline t :greedy t | 1638 | (checklist :inline t :greedy t |
| 1639 | (const :format "%v " address) | 1639 | (const :format "%v " address) |
| 1640 | (const cloud) | ||
| 1640 | (const global) | 1641 | (const global) |
| 1641 | (const :format "%v " prompt-address) | 1642 | (const :format "%v " prompt-address) |
| 1642 | (const :format "%v " physical-address) | 1643 | (const :format "%v " physical-address) |
diff --git a/lisp/gnus/mml-sec.el b/lisp/gnus/mml-sec.el index 0a5f472079d..48e6384497e 100644 --- a/lisp/gnus/mml-sec.el +++ b/lisp/gnus/mml-sec.el | |||
| @@ -432,15 +432,18 @@ If called with a prefix argument, only encrypt (do NOT sign)." | |||
| 432 | 432 | ||
| 433 | ;;; Common functionality for mml1991.el, mml2015.el, mml-smime.el | 433 | ;;; Common functionality for mml1991.el, mml2015.el, mml-smime.el |
| 434 | 434 | ||
| 435 | (define-obsolete-variable-alias 'mml1991-signers 'mml-secure-openpgp-signers) | 435 | (define-obsolete-variable-alias 'mml1991-signers 'mml-secure-openpgp-signers |
| 436 | (define-obsolete-variable-alias 'mml2015-signers 'mml-secure-openpgp-signers) | 436 | "25.1") |
| 437 | (define-obsolete-variable-alias 'mml2015-signers 'mml-secure-openpgp-signers | ||
| 438 | "25.1") | ||
| 437 | (defcustom mml-secure-openpgp-signers nil | 439 | (defcustom mml-secure-openpgp-signers nil |
| 438 | "A list of your own key ID(s) which will be used to sign OpenPGP messages. | 440 | "A list of your own key ID(s) which will be used to sign OpenPGP messages. |
| 439 | If set, it is added to the setting of `mml-secure-openpgp-sign-with-sender'." | 441 | If set, it is added to the setting of `mml-secure-openpgp-sign-with-sender'." |
| 440 | :group 'mime-security | 442 | :group 'mime-security |
| 441 | :type '(repeat (string :tag "Key ID"))) | 443 | :type '(repeat (string :tag "Key ID"))) |
| 442 | 444 | ||
| 443 | (define-obsolete-variable-alias 'mml-smime-signers 'mml-secure-smime-signers) | 445 | (define-obsolete-variable-alias 'mml-smime-signers 'mml-secure-smime-signers |
| 446 | "25.1") | ||
| 444 | (defcustom mml-secure-smime-signers nil | 447 | (defcustom mml-secure-smime-signers nil |
| 445 | "A list of your own key ID(s) which will be used to sign S/MIME messages. | 448 | "A list of your own key ID(s) which will be used to sign S/MIME messages. |
| 446 | If set, it is added to the setting of `mml-secure-smime-sign-with-sender'." | 449 | If set, it is added to the setting of `mml-secure-smime-sign-with-sender'." |
| @@ -448,9 +451,9 @@ If set, it is added to the setting of `mml-secure-smime-sign-with-sender'." | |||
| 448 | :type '(repeat (string :tag "Key ID"))) | 451 | :type '(repeat (string :tag "Key ID"))) |
| 449 | 452 | ||
| 450 | (define-obsolete-variable-alias | 453 | (define-obsolete-variable-alias |
| 451 | 'mml1991-encrypt-to-self 'mml-secure-openpgp-encrypt-to-self) | 454 | 'mml1991-encrypt-to-self 'mml-secure-openpgp-encrypt-to-self "25.1") |
| 452 | (define-obsolete-variable-alias | 455 | (define-obsolete-variable-alias |
| 453 | 'mml2015-encrypt-to-self 'mml-secure-openpgp-encrypt-to-self) | 456 | 'mml2015-encrypt-to-self 'mml-secure-openpgp-encrypt-to-self "25.1") |
| 454 | (defcustom mml-secure-openpgp-encrypt-to-self nil | 457 | (defcustom mml-secure-openpgp-encrypt-to-self nil |
| 455 | "List of own key ID(s) or t; determines additional recipients with OpenPGP. | 458 | "List of own key ID(s) or t; determines additional recipients with OpenPGP. |
| 456 | If t, also encrypt to key for message sender; if list, encrypt to those keys. | 459 | If t, also encrypt to key for message sender; if list, encrypt to those keys. |
| @@ -469,7 +472,7 @@ https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18718" | |||
| 469 | (repeat (string :tag "Key ID")))) | 472 | (repeat (string :tag "Key ID")))) |
| 470 | 473 | ||
| 471 | (define-obsolete-variable-alias | 474 | (define-obsolete-variable-alias |
| 472 | 'mml-smime-encrypt-to-self 'mml-secure-smime-encrypt-to-self) | 475 | 'mml-smime-encrypt-to-self 'mml-secure-smime-encrypt-to-self "25.1") |
| 473 | (defcustom mml-secure-smime-encrypt-to-self nil | 476 | (defcustom mml-secure-smime-encrypt-to-self nil |
| 474 | "List of own key ID(s) or t; determines additional recipients with S/MIME. | 477 | "List of own key ID(s) or t; determines additional recipients with S/MIME. |
| 475 | If t, also encrypt to key for message sender; if list, encrypt to those keys. | 478 | If t, also encrypt to key for message sender; if list, encrypt to those keys. |
| @@ -488,7 +491,7 @@ https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18718" | |||
| 488 | (repeat (string :tag "Key ID")))) | 491 | (repeat (string :tag "Key ID")))) |
| 489 | 492 | ||
| 490 | (define-obsolete-variable-alias | 493 | (define-obsolete-variable-alias |
| 491 | 'mml2015-sign-with-sender 'mml-secure-openpgp-sign-with-sender) | 494 | 'mml2015-sign-with-sender 'mml-secure-openpgp-sign-with-sender "25.1") |
| 492 | ;mml1991-sign-with-sender did never exist. | 495 | ;mml1991-sign-with-sender did never exist. |
| 493 | (defcustom mml-secure-openpgp-sign-with-sender nil | 496 | (defcustom mml-secure-openpgp-sign-with-sender nil |
| 494 | "If t, use message sender to find an OpenPGP key to sign with." | 497 | "If t, use message sender to find an OpenPGP key to sign with." |
| @@ -496,14 +499,14 @@ https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18718" | |||
| 496 | :type 'boolean) | 499 | :type 'boolean) |
| 497 | 500 | ||
| 498 | (define-obsolete-variable-alias | 501 | (define-obsolete-variable-alias |
| 499 | 'mml-smime-sign-with-sender 'mml-secure-smime-sign-with-sender) | 502 | 'mml-smime-sign-with-sender 'mml-secure-smime-sign-with-sender "25.1") |
| 500 | (defcustom mml-secure-smime-sign-with-sender nil | 503 | (defcustom mml-secure-smime-sign-with-sender nil |
| 501 | "If t, use message sender to find an S/MIME key to sign with." | 504 | "If t, use message sender to find an S/MIME key to sign with." |
| 502 | :group 'mime-security | 505 | :group 'mime-security |
| 503 | :type 'boolean) | 506 | :type 'boolean) |
| 504 | 507 | ||
| 505 | (define-obsolete-variable-alias | 508 | (define-obsolete-variable-alias |
| 506 | 'mml2015-always-trust 'mml-secure-openpgp-always-trust) | 509 | 'mml2015-always-trust 'mml-secure-openpgp-always-trust "25.1") |
| 507 | ;mml1991-always-trust did never exist. | 510 | ;mml1991-always-trust did never exist. |
| 508 | (defcustom mml-secure-openpgp-always-trust t | 511 | (defcustom mml-secure-openpgp-always-trust t |
| 509 | "If t, skip key validation of GnuPG on encryption." | 512 | "If t, skip key validation of GnuPG on encryption." |
| @@ -513,6 +516,7 @@ https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18718" | |||
| 513 | (defcustom mml-secure-fail-when-key-problem nil | 516 | (defcustom mml-secure-fail-when-key-problem nil |
| 514 | "If t, raise an error if some key is missing or several keys exist. | 517 | "If t, raise an error if some key is missing or several keys exist. |
| 515 | Otherwise, ask the user." | 518 | Otherwise, ask the user." |
| 519 | :version "25.1" | ||
| 516 | :group 'mime-security | 520 | :group 'mime-security |
| 517 | :type 'boolean) | 521 | :type 'boolean) |
| 518 | 522 | ||
| @@ -523,6 +527,7 @@ This variable is only relevant if a recipient owns multiple key pairs (for | |||
| 523 | encryption) or you own multiple key pairs (for signing). In such cases, | 527 | encryption) or you own multiple key pairs (for signing). In such cases, |
| 524 | you will be asked which key(s) should be used, and your choice can be | 528 | you will be asked which key(s) should be used, and your choice can be |
| 525 | customized in this variable." | 529 | customized in this variable." |
| 530 | :version "25.1" | ||
| 526 | :group 'mime-security | 531 | :group 'mime-security |
| 527 | :type '(alist :key-type (symbol :tag "Protocol") :value-type | 532 | :type '(alist :key-type (symbol :tag "Protocol") :value-type |
| 528 | (alist :key-type (symbol :tag "Usage") :value-type | 533 | (alist :key-type (symbol :tag "Usage") :value-type |
diff --git a/lisp/gnus/mml-smime.el b/lisp/gnus/mml-smime.el index a40595ecbd5..2d8f25c5003 100644 --- a/lisp/gnus/mml-smime.el +++ b/lisp/gnus/mml-smime.el | |||
| @@ -350,9 +350,9 @@ Whether the passphrase is cached at all is controlled by | |||
| 350 | (autoload 'epg-expand-group "epg-config") | 350 | (autoload 'epg-expand-group "epg-config") |
| 351 | (autoload 'epa-select-keys "epa")) | 351 | (autoload 'epa-select-keys "epa")) |
| 352 | 352 | ||
| 353 | (declare-function epg-key-sub-key-list "ext:epg" (key)) | 353 | (declare-function epg-key-sub-key-list "epg" (key) t) |
| 354 | (declare-function epg-sub-key-capability "ext:epg" (sub-key)) | 354 | (declare-function epg-sub-key-capability "epg" (sub-key) t) |
| 355 | (declare-function epg-sub-key-validity "ext:epg" (sub-key)) | 355 | (declare-function epg-sub-key-validity "epg" (sub-key) t) |
| 356 | 356 | ||
| 357 | (autoload 'mml-compute-boundary "mml") | 357 | (autoload 'mml-compute-boundary "mml") |
| 358 | 358 | ||
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 0e10dfdb8be..f56b04568c8 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el | |||
| @@ -1115,24 +1115,14 @@ command whose response triggered the error." | |||
| 1115 | 1115 | ||
| 1116 | (deffoo nntp-request-newgroups (date &optional server) | 1116 | (deffoo nntp-request-newgroups (date &optional server) |
| 1117 | (nntp-with-open-group | 1117 | (nntp-with-open-group |
| 1118 | nil server | 1118 | nil server |
| 1119 | (with-current-buffer nntp-server-buffer | 1119 | (with-current-buffer nntp-server-buffer |
| 1120 | (let* ((time (date-to-time date)) | 1120 | (prog1 |
| 1121 | (ls (- (cadr time) (nth 8 (decode-time time))))) | 1121 | (nntp-send-command |
| 1122 | (cond ((< ls 0) | 1122 | "^\\.\r?\n" "NEWGROUPS" |
| 1123 | (setcar time (1- (car time))) | 1123 | (format-time-string "%y%m%d %H%M%S" (date-to-time date) t) |
| 1124 | (setcar (cdr time) (+ ls 65536))) | 1124 | "GMT") |
| 1125 | ((>= ls 65536) | 1125 | (nntp-decode-text))))) |
| 1126 | (setcar time (1+ (car time))) | ||
| 1127 | (setcar (cdr time) (- ls 65536))) | ||
| 1128 | (t | ||
| 1129 | (setcar (cdr time) ls))) | ||
| 1130 | (prog1 | ||
| 1131 | (nntp-send-command | ||
| 1132 | "^\\.\r?\n" "NEWGROUPS" | ||
| 1133 | (format-time-string "%y%m%d %H%M%S" time) | ||
| 1134 | "GMT") | ||
| 1135 | (nntp-decode-text)))))) | ||
| 1136 | 1126 | ||
| 1137 | (deffoo nntp-request-post (&optional server) | 1127 | (deffoo nntp-request-post (&optional server) |
| 1138 | (nntp-with-open-group | 1128 | (nntp-with-open-group |
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el index 24ad342d4e0..ae58f1ec7e1 100644 --- a/lisp/international/mule-util.el +++ b/lisp/international/mule-util.el | |||
| @@ -259,7 +259,7 @@ language environment LANG-ENV." | |||
| 259 | (with-coding-priority coding-priority | 259 | (with-coding-priority coding-priority |
| 260 | (detect-coding-region from to))))) | 260 | (detect-coding-region from to))))) |
| 261 | 261 | ||
| 262 | (declare-function internal-char-font "fontset.c" (position &optional ch)) | 262 | (declare-function internal-char-font "font.c" (position &optional ch)) |
| 263 | 263 | ||
| 264 | ;;;###autoload | 264 | ;;;###autoload |
| 265 | (defun char-displayable-p (char) | 265 | (defun char-displayable-p (char) |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 05511a84540..5464c38af76 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -694,8 +694,9 @@ Element N specifies the summary line for message N+1.") | |||
| 694 | This is set to nil by default.") | 694 | This is set to nil by default.") |
| 695 | 695 | ||
| 696 | (defcustom rmail-get-coding-function nil | 696 | (defcustom rmail-get-coding-function nil |
| 697 | "Function of no args to try to determine coding system for a message." | 697 | "Function of no args to try to determine coding system for a message. |
| 698 | :type 'function | 698 | If nil, just search for `rmail-mime-charset-pattern'." |
| 699 | :type '(choice (const nil) function) | ||
| 699 | :group 'rmail | 700 | :group 'rmail |
| 700 | :version "24.4") | 701 | :version "24.4") |
| 701 | 702 | ||
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 26fa0d94b88..2bda97f95d0 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -349,6 +349,7 @@ functionality is not available there." | |||
| 349 | "Whether to open up new windows in a buffer or a new window. | 349 | "Whether to open up new windows in a buffer or a new window. |
| 350 | If non-nil, then open the URL in a new buffer rather than a new window if | 350 | If non-nil, then open the URL in a new buffer rather than a new window if |
| 351 | `browse-url-conkeror' is asked to open it in a new window." | 351 | `browse-url-conkeror' is asked to open it in a new window." |
| 352 | :version "25.1" | ||
| 352 | :type 'boolean | 353 | :type 'boolean |
| 353 | :group 'browse-url) | 354 | :group 'browse-url) |
| 354 | 355 | ||
| @@ -415,6 +416,7 @@ commands reverses the effect of this variable." | |||
| 415 | 416 | ||
| 416 | (defcustom browse-url-conkeror-arguments nil | 417 | (defcustom browse-url-conkeror-arguments nil |
| 417 | "A list of strings to pass to Conkeror as arguments." | 418 | "A list of strings to pass to Conkeror as arguments." |
| 419 | :version "25.1" | ||
| 418 | :type '(repeat (string :tag "Argument")) | 420 | :type '(repeat (string :tag "Argument")) |
| 419 | :group 'browse-url) | 421 | :group 'browse-url) |
| 420 | 422 | ||
diff --git a/lisp/net/newst-reader.el b/lisp/net/newst-reader.el index 1647ef85364..9c29216ccaf 100644 --- a/lisp/net/newst-reader.el +++ b/lisp/net/newst-reader.el | |||
| @@ -69,6 +69,7 @@ This must be one of the functions `newsticker-plainview' or | |||
| 69 | (defcustom newsticker-download-logos | 69 | (defcustom newsticker-download-logos |
| 70 | t | 70 | t |
| 71 | "If non-nil newsticker downloads logo images of subscribed feeds." | 71 | "If non-nil newsticker downloads logo images of subscribed feeds." |
| 72 | :version "25.1" | ||
| 72 | :type 'boolean | 73 | :type 'boolean |
| 73 | :group 'newsticker-reader) | 74 | :group 'newsticker-reader) |
| 74 | 75 | ||
diff --git a/lisp/net/newst-treeview.el b/lisp/net/newst-treeview.el index 0e75236154b..4de3d1d1125 100644 --- a/lisp/net/newst-treeview.el +++ b/lisp/net/newst-treeview.el | |||
| @@ -132,9 +132,9 @@ Example: (\"Topmost group\" \"feed1\" (\"subgroup1\" \"feed 2\") | |||
| 132 | 132 | ||
| 133 | (defcustom newsticker-groups-filename | 133 | (defcustom newsticker-groups-filename |
| 134 | nil | 134 | nil |
| 135 | "Name of the newsticker groups settings file. This variable is obsolete." | 135 | "Name of the newsticker groups settings file." |
| 136 | :version "25.1" ; changed default value to nil | 136 | :version "25.1" ; changed default value to nil |
| 137 | :type 'string | 137 | :type '(choice (const nil) string) |
| 138 | :group 'newsticker-treeview) | 138 | :group 'newsticker-treeview) |
| 139 | (make-obsolete-variable 'newsticker-groups-filename 'newsticker-dir "23.1") | 139 | (make-obsolete-variable 'newsticker-groups-filename 'newsticker-dir "23.1") |
| 140 | 140 | ||
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 2db7220de5c..271033b15f8 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1794,7 +1794,6 @@ Two variables control the processing we do on each file: the value of | |||
| 1794 | interesting (it returns non-nil if so) and `tags-loop-operate' is a form to | 1794 | interesting (it returns non-nil if so) and `tags-loop-operate' is a form to |
| 1795 | evaluate to operate on an interesting file. If the latter evaluates to | 1795 | evaluate to operate on an interesting file. If the latter evaluates to |
| 1796 | nil, we exit; otherwise we scan the next file." | 1796 | nil, we exit; otherwise we scan the next file." |
| 1797 | (declare (obsolete "use `xref-find-definitions' interface instead." "25.1")) | ||
| 1798 | (interactive) | 1797 | (interactive) |
| 1799 | (let (new | 1798 | (let (new |
| 1800 | ;; Non-nil means we have finished one file | 1799 | ;; Non-nil means we have finished one file |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index c22de2f77ac..1a0385e167e 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -1742,6 +1742,7 @@ and source-file directory for your debugger." | |||
| 1742 | (defcustom gud-guiler-command-name "guile" | 1742 | (defcustom gud-guiler-command-name "guile" |
| 1743 | "File name for executing the Guile debugger. | 1743 | "File name for executing the Guile debugger. |
| 1744 | This should be an executable on your path, or an absolute file name." | 1744 | This should be an executable on your path, or an absolute file name." |
| 1745 | :version "25.1" | ||
| 1745 | :type 'string | 1746 | :type 'string |
| 1746 | :group 'gud) | 1747 | :group 'gud) |
| 1747 | 1748 | ||
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 43cf42c048b..cc7d1c368c5 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el | |||
| @@ -138,7 +138,7 @@ | |||
| 138 | 138 | ||
| 139 | (defcustom hide-ifdef-exclude-define-regexp nil | 139 | (defcustom hide-ifdef-exclude-define-regexp nil |
| 140 | "Ignore #define names if those names match this exclusion pattern." | 140 | "Ignore #define names if those names match this exclusion pattern." |
| 141 | :type 'string | 141 | :type '(choice (const nil) string) |
| 142 | :version "25.1") | 142 | :version "25.1") |
| 143 | 143 | ||
| 144 | (defcustom hide-ifdef-expand-reinclusion-protection t | 144 | (defcustom hide-ifdef-expand-reinclusion-protection t |
diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el index 2f12df47723..718b33932ed 100644 --- a/lisp/progmodes/prog-mode.el +++ b/lisp/progmodes/prog-mode.el | |||
| @@ -202,6 +202,7 @@ is immediately after the symbol. The prettification will be | |||
| 202 | reapplied as soon as point moves away from the symbol. If | 202 | reapplied as soon as point moves away from the symbol. If |
| 203 | set to nil, the prettification persists even when point is | 203 | set to nil, the prettification persists even when point is |
| 204 | on the symbol." | 204 | on the symbol." |
| 205 | :version "25.1" | ||
| 205 | :type '(choice (const :tag "Never unprettify" nil) | 206 | :type '(choice (const :tag "Never unprettify" nil) |
| 206 | (const :tag "Unprettify when point is inside" t) | 207 | (const :tag "Unprettify when point is inside" t) |
| 207 | (const :tag "Unprettify when point is inside or at right edge" right-edge)) | 208 | (const :tag "Unprettify when point is inside or at right edge" right-edge)) |
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index fe28ed776b2..a972def24b0 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el | |||
| @@ -156,10 +156,11 @@ end it with `/'. DIR must be one of `project-roots' or | |||
| 156 | 156 | ||
| 157 | (defgroup project-vc nil | 157 | (defgroup project-vc nil |
| 158 | "Project implementation using the VC package." | 158 | "Project implementation using the VC package." |
| 159 | :version "25.1" | ||
| 159 | :group 'tools) | 160 | :group 'tools) |
| 160 | 161 | ||
| 161 | (defcustom project-vc-ignores nil | 162 | (defcustom project-vc-ignores nil |
| 162 | "List ot patterns to include in `project-ignores'." | 163 | "List of patterns to include in `project-ignores'." |
| 163 | :type '(repeat string) | 164 | :type '(repeat string) |
| 164 | :safe 'listp) | 165 | :safe 'listp) |
| 165 | 166 | ||
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3bcbf07cbbd..a8c65fa23a9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -715,6 +715,7 @@ It makes underscores and dots word constituent chars.") | |||
| 715 | 715 | ||
| 716 | (defcustom python-indent-guess-indent-offset-verbose t | 716 | (defcustom python-indent-guess-indent-offset-verbose t |
| 717 | "Non-nil means to emit a warning when indentation guessing fails." | 717 | "Non-nil means to emit a warning when indentation guessing fails." |
| 718 | :version "25.1" | ||
| 718 | :type 'boolean | 719 | :type 'boolean |
| 719 | :group 'python | 720 | :group 'python |
| 720 | :safe' booleanp) | 721 | :safe' booleanp) |
| @@ -1999,6 +2000,7 @@ hosts PATH before starting processes. Values defined in | |||
| 1999 | here. Normally you wont use this variable directly unless you | 2000 | here. Normally you wont use this variable directly unless you |
| 2000 | plan to ensure a particular set of paths to all Python shell | 2001 | plan to ensure a particular set of paths to all Python shell |
| 2001 | executed through tramp connections." | 2002 | executed through tramp connections." |
| 2003 | :version "25.1" | ||
| 2002 | :type '(repeat string) | 2004 | :type '(repeat string) |
| 2003 | :group 'python) | 2005 | :group 'python) |
| 2004 | 2006 | ||
| @@ -2621,6 +2623,7 @@ current process to not hang waiting for output by safeguarding | |||
| 2621 | interactive actions can be performed. This is useful to safely | 2623 | interactive actions can be performed. This is useful to safely |
| 2622 | attach setup code for long-running processes that eventually | 2624 | attach setup code for long-running processes that eventually |
| 2623 | provide a shell." | 2625 | provide a shell." |
| 2626 | :version "25.1" | ||
| 2624 | :type 'hook | 2627 | :type 'hook |
| 2625 | :group 'python) | 2628 | :group 'python) |
| 2626 | 2629 | ||
| @@ -3258,18 +3261,22 @@ the full statement in the case of imports." | |||
| 3258 | (list "pypy") | 3261 | (list "pypy") |
| 3259 | "List of disabled interpreters. | 3262 | "List of disabled interpreters. |
| 3260 | When a match is found, native completion is disabled." | 3263 | When a match is found, native completion is disabled." |
| 3264 | :version "25.1" | ||
| 3261 | :type '(repeat string)) | 3265 | :type '(repeat string)) |
| 3262 | 3266 | ||
| 3263 | (defcustom python-shell-completion-native-enable t | 3267 | (defcustom python-shell-completion-native-enable t |
| 3264 | "Enable readline based native completion." | 3268 | "Enable readline based native completion." |
| 3269 | :version "25.1" | ||
| 3265 | :type 'boolean) | 3270 | :type 'boolean) |
| 3266 | 3271 | ||
| 3267 | (defcustom python-shell-completion-native-output-timeout 5.0 | 3272 | (defcustom python-shell-completion-native-output-timeout 5.0 |
| 3268 | "Time in seconds to wait for completion output before giving up." | 3273 | "Time in seconds to wait for completion output before giving up." |
| 3274 | :version "25.1" | ||
| 3269 | :type 'float) | 3275 | :type 'float) |
| 3270 | 3276 | ||
| 3271 | (defcustom python-shell-completion-native-try-output-timeout 1.0 | 3277 | (defcustom python-shell-completion-native-try-output-timeout 1.0 |
| 3272 | "Time in seconds to wait for *trying* native completion output." | 3278 | "Time in seconds to wait for *trying* native completion output." |
| 3279 | :version "25.1" | ||
| 3273 | :type 'float) | 3280 | :type 'float) |
| 3274 | 3281 | ||
| 3275 | (defvar python-shell-completion-native-redirect-buffer | 3282 | (defvar python-shell-completion-native-redirect-buffer |
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index fe39122d24f..6220b4cdc92 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -76,6 +76,7 @@ | |||
| 76 | (require 'semantic/symref)) ;; for hit-lines slot | 76 | (require 'semantic/symref)) ;; for hit-lines slot |
| 77 | 77 | ||
| 78 | (defgroup xref nil "Cross-referencing commands" | 78 | (defgroup xref nil "Cross-referencing commands" |
| 79 | :version "25.1" | ||
| 79 | :group 'tools) | 80 | :group 'tools) |
| 80 | 81 | ||
| 81 | 82 | ||
diff --git a/lisp/rect.el b/lisp/rect.el index 789d0e9082d..73790f2f92a 100644 --- a/lisp/rect.el +++ b/lisp/rect.el | |||
| @@ -403,6 +403,7 @@ With a prefix (or a FILL) argument, also fill too short lines." | |||
| 403 | 403 | ||
| 404 | (defcustom rectangle-preview t | 404 | (defcustom rectangle-preview t |
| 405 | "If non-nil, `string-rectangle' will show an-the-fly preview." | 405 | "If non-nil, `string-rectangle' will show an-the-fly preview." |
| 406 | :version "25.1" | ||
| 406 | :type 'boolean) | 407 | :type 'boolean) |
| 407 | 408 | ||
| 408 | (defun rectangle--string-preview () | 409 | (defun rectangle--string-preview () |
diff --git a/lisp/term/screen.el b/lisp/term/screen.el index 704fbefb0ad..7f681154d6e 100644 --- a/lisp/term/screen.el +++ b/lisp/term/screen.el | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | "Extra capabilities supported under \"screen\". | 7 | "Extra capabilities supported under \"screen\". |
| 8 | Some features of screen depend on the terminal emulator in which | 8 | Some features of screen depend on the terminal emulator in which |
| 9 | it runs, which can change when the screen session is moved to another tty." | 9 | it runs, which can change when the screen session is moved to another tty." |
| 10 | :version "25.1" | ||
| 10 | :type xterm--extra-capabilities-type | 11 | :type xterm--extra-capabilities-type |
| 11 | :group 'xterm) | 12 | :group 'xterm) |
| 12 | 13 | ||
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index 104f98311a8..e06423ccfdd 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el | |||
| @@ -65,6 +65,7 @@ using the OSC 52 sequence. | |||
| 65 | If you select a region larger than this size, it won't be copied to your system | 65 | If you select a region larger than this size, it won't be copied to your system |
| 66 | clipboard. Since clipboard data is base 64 encoded, the actual number of | 66 | clipboard. Since clipboard data is base 64 encoded, the actual number of |
| 67 | string bytes that can be copied is 3/4 of this value." | 67 | string bytes that can be copied is 3/4 of this value." |
| 68 | :version "25.1" | ||
| 68 | :type 'integer) | 69 | :type 'integer) |
| 69 | 70 | ||
| 70 | (defconst xterm-paste-ending-sequence "\e[201~" | 71 | (defconst xterm-paste-ending-sequence "\e[201~" |
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 48c24844a68..d402fb19955 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el | |||
| @@ -257,13 +257,13 @@ | |||
| 257 | (if (not sassy) | 257 | (if (not sassy) |
| 258 | ;; We don't allow / as first char, so as not to | 258 | ;; We don't allow / as first char, so as not to |
| 259 | ;; take a comment as the beginning of a selector. | 259 | ;; take a comment as the beginning of a selector. |
| 260 | "[^@/:{} \t\n][^:{}]+" | 260 | "[^@/:{}() \t\n][^:{}()]+" |
| 261 | ;; Same as for non-sassy except we do want to allow { and } | 261 | ;; Same as for non-sassy except we do want to allow { and } |
| 262 | ;; chars in selectors in the case of #{$foo} | 262 | ;; chars in selectors in the case of #{$foo} |
| 263 | ;; variable interpolation! | 263 | ;; variable interpolation! |
| 264 | (concat "\\(?:" scss--hash-re | 264 | (concat "\\(?:" scss--hash-re |
| 265 | "\\|[^@/:{} \t\n#]\\)" | 265 | "\\|[^@/:{}() \t\n#]\\)" |
| 266 | "[^:{}#]*\\(?:" scss--hash-re "[^:{}#]*\\)*")) | 266 | "[^:{}()#]*\\(?:" scss--hash-re "[^:{}()#]*\\)*")) |
| 267 | ;; Even though pseudo-elements should be prefixed by ::, a | 267 | ;; Even though pseudo-elements should be prefixed by ::, a |
| 268 | ;; single colon is accepted for backward compatibility. | 268 | ;; single colon is accepted for backward compatibility. |
| 269 | "\\(?:\\(:" (regexp-opt (append css-pseudo-class-ids | 269 | "\\(?:\\(:" (regexp-opt (append css-pseudo-class-ids |
| @@ -271,8 +271,8 @@ | |||
| 271 | "\\|\\::" (regexp-opt css-pseudo-element-ids t) "\\)" | 271 | "\\|\\::" (regexp-opt css-pseudo-element-ids t) "\\)" |
| 272 | "\\(?:([^)]+)\\)?" | 272 | "\\(?:([^)]+)\\)?" |
| 273 | (if (not sassy) | 273 | (if (not sassy) |
| 274 | "[^:{}\n]*" | 274 | "[^:{}()\n]*" |
| 275 | (concat "[^:{}\n#]*\\(?:" scss--hash-re "[^:{}\n#]*\\)*")) | 275 | (concat "[^:{}()\n#]*\\(?:" scss--hash-re "[^:{}()\n#]*\\)*")) |
| 276 | "\\)*" | 276 | "\\)*" |
| 277 | "\\)\\(?:\n[ \t]*\\)*{") | 277 | "\\)\\(?:\n[ \t]*\\)*{") |
| 278 | (1 'css-selector keep)) | 278 | (1 'css-selector keep)) |
diff --git a/lisp/textmodes/tildify.el b/lisp/textmodes/tildify.el index eb799c09510..598060e9ec8 100644 --- a/lisp/textmodes/tildify.el +++ b/lisp/textmodes/tildify.el | |||
| @@ -417,7 +417,7 @@ current `case-fold-search' setting." | |||
| 417 | "A list of predicate functions for `tildify-space' function." | 417 | "A list of predicate functions for `tildify-space' function." |
| 418 | :version "25.1" | 418 | :version "25.1" |
| 419 | :group 'tildify | 419 | :group 'tildify |
| 420 | :type '(repeat 'function)) | 420 | :type '(repeat function)) |
| 421 | 421 | ||
| 422 | (defcustom tildify-double-space-undos t | 422 | (defcustom tildify-double-space-undos t |
| 423 | "Weather `tildify-space' should undo hard space when space is typed again." | 423 | "Weather `tildify-space' should undo hard space when space is typed again." |
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index 9794d002149..1686c02ada3 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el | |||
| @@ -280,8 +280,8 @@ If nil, construct the regexp from `thing-at-point-uri-schemes'.") | |||
| 280 | "finger://" "fish://" "ftp://" "geo:" "git://" "go:" "gopher://" | 280 | "finger://" "fish://" "ftp://" "geo:" "git://" "go:" "gopher://" |
| 281 | "h323:" "http://" "https://" "im:" "imap://" "info:" "ipp:" | 281 | "h323:" "http://" "https://" "im:" "imap://" "info:" "ipp:" |
| 282 | "irc://" "irc6://" "ircs://" "iris.beep:" "jar:" "ldap://" | 282 | "irc://" "irc6://" "ircs://" "iris.beep:" "jar:" "ldap://" |
| 283 | "ldaps://" "mailto:" "mid:" "mtqp://" "mupdate://" "news:" | 283 | "ldaps://" "magnet:" "mailto:" "mid:" "mtqp://" "mupdate://" |
| 284 | "nfs://" "nntp://" "opaquelocktoken:" "pop://" "pres:" | 284 | "news:" "nfs://" "nntp://" "opaquelocktoken:" "pop://" "pres:" |
| 285 | "resource://" "rmi://" "rsync://" "rtsp://" "rtspu://" "service:" | 285 | "resource://" "rmi://" "rsync://" "rtsp://" "rtspu://" "service:" |
| 286 | "sftp://" "sip:" "sips:" "smb://" "sms:" "snmp://" "soap.beep://" | 286 | "sftp://" "sip:" "sips:" "smb://" "sms:" "snmp://" "soap.beep://" |
| 287 | "soap.beeps://" "ssh://" "svn://" "svn+ssh://" "tag:" "tel:" | 287 | "soap.beeps://" "ssh://" "svn://" "svn+ssh://" "tag:" "tel:" |
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el index 46c993e1f5f..d58942c3a2b 100644 --- a/lisp/time-stamp.el +++ b/lisp/time-stamp.el | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | 5 | ||
| 6 | ;; This file is part of GNU Emacs. | 6 | ;; This file is part of GNU Emacs. |
| 7 | 7 | ||
| 8 | ;; Maintainer's Time-stamp: <2006-04-12 20:30:56 rms> | ||
| 9 | ;; Maintainer: Stephen Gildea <gildea@stop.mail-abuse.org> | 8 | ;; Maintainer: Stephen Gildea <gildea@stop.mail-abuse.org> |
| 10 | ;; Keywords: tools | 9 | ;; Keywords: tools |
| 11 | 10 | ||
| @@ -27,7 +26,6 @@ | |||
| 27 | ;; A template in a file can be updated with a new time stamp when | 26 | ;; A template in a file can be updated with a new time stamp when |
| 28 | ;; you save the file. For example: | 27 | ;; you save the file. For example: |
| 29 | ;; static char *ts = "sdmain.c Time-stamp: <2001-08-13 10:20:51 gildea>"; | 28 | ;; static char *ts = "sdmain.c Time-stamp: <2001-08-13 10:20:51 gildea>"; |
| 30 | ;; See the top of `time-stamp.el' for another example. | ||
| 31 | 29 | ||
| 32 | ;; To use time-stamping, add this line to your init file: | 30 | ;; To use time-stamping, add this line to your init file: |
| 33 | ;; (add-hook 'before-save-hook 'time-stamp) | 31 | ;; (add-hook 'before-save-hook 'time-stamp) |
| @@ -121,9 +119,12 @@ If nil, no notification is given." | |||
| 121 | :group 'time-stamp) | 119 | :group 'time-stamp) |
| 122 | 120 | ||
| 123 | (defcustom time-stamp-time-zone nil | 121 | (defcustom time-stamp-time-zone nil |
| 124 | "If non-nil, a string naming the timezone to be used by \\[time-stamp]. | 122 | "The time zone to be used by \\[time-stamp]. |
| 125 | Format is the same as that used by the environment variable TZ on your system." | 123 | Its format is that of the ZONE argument of the `format-time-string' function," |
| 126 | :type '(choice (const nil) string) | 124 | :type '(choice (const :tag "Emacs local time" nil) |
| 125 | (const :tag "Universal Time" t) | ||
| 126 | (const :tag "system wall clock time" wall) | ||
| 127 | (string :tag "TZ environment variable value")) | ||
| 127 | :group 'time-stamp | 128 | :group 'time-stamp |
| 128 | :version "20.1") | 129 | :version "20.1") |
| 129 | ;;;###autoload(put 'time-stamp-time-zone 'safe-local-variable 'string-or-null-p) | 130 | ;;;###autoload(put 'time-stamp-time-zone 'safe-local-variable 'string-or-null-p) |
| @@ -412,6 +413,8 @@ With ARG, turn time stamping on if and only if arg is positive." | |||
| 412 | (> (prefix-numeric-value arg) 0))) | 413 | (> (prefix-numeric-value arg) 0))) |
| 413 | (message "time-stamp is now %s." (if time-stamp-active "active" "off"))) | 414 | (message "time-stamp is now %s." (if time-stamp-active "active" "off"))) |
| 414 | 415 | ||
| 416 | (defun time-stamp--format (format time) | ||
| 417 | (format-time-string format time time-stamp-time-zone)) | ||
| 415 | 418 | ||
| 416 | (defun time-stamp-string (&optional ts-format) | 419 | (defun time-stamp-string (&optional ts-format) |
| 417 | "Generate the new string to be inserted by \\[time-stamp]. | 420 | "Generate the new string to be inserted by \\[time-stamp]. |
| @@ -420,8 +423,7 @@ format the string." | |||
| 420 | (or ts-format | 423 | (or ts-format |
| 421 | (setq ts-format time-stamp-format)) | 424 | (setq ts-format time-stamp-format)) |
| 422 | (if (stringp ts-format) | 425 | (if (stringp ts-format) |
| 423 | (format-time-string (time-stamp-string-preprocess ts-format) | 426 | (time-stamp--format (time-stamp-string-preprocess ts-format) nil) |
| 424 | nil time-stamp-time-zone) | ||
| 425 | ;; handle version 1 compatibility | 427 | ;; handle version 1 compatibility |
| 426 | (cond ((or (eq time-stamp-old-format-warn 'error) | 428 | (cond ((or (eq time-stamp-old-format-warn 'error) |
| 427 | (and (eq time-stamp-old-format-warn 'ask) | 429 | (and (eq time-stamp-old-format-warn 'ask) |
| @@ -515,32 +517,32 @@ and all `time-stamp-format' compatibility." | |||
| 515 | "%%") | 517 | "%%") |
| 516 | ((eq cur-char ?a) ;day of week | 518 | ((eq cur-char ?a) ;day of week |
| 517 | (if change-case | 519 | (if change-case |
| 518 | (format-time-string "%#a" time) | 520 | (time-stamp--format "%#a" time) |
| 519 | (or alt-form (not (string-equal field-width "")) | 521 | (or alt-form (not (string-equal field-width "")) |
| 520 | (time-stamp-conv-warn "%a" "%:a")) | 522 | (time-stamp-conv-warn "%a" "%:a")) |
| 521 | (if (and alt-form (not (string-equal field-width ""))) | 523 | (if (and alt-form (not (string-equal field-width ""))) |
| 522 | "" ;discourage "%:3a" | 524 | "" ;discourage "%:3a" |
| 523 | (format-time-string "%A" time)))) | 525 | (time-stamp--format "%A" time)))) |
| 524 | ((eq cur-char ?A) | 526 | ((eq cur-char ?A) |
| 525 | (if alt-form | 527 | (if alt-form |
| 526 | (format-time-string "%A" time) | 528 | (time-stamp--format "%A" time) |
| 527 | (or change-case (not (string-equal field-width "")) | 529 | (or change-case (not (string-equal field-width "")) |
| 528 | (time-stamp-conv-warn "%A" "%#A")) | 530 | (time-stamp-conv-warn "%A" "%#A")) |
| 529 | (format-time-string "%#A" time))) | 531 | (time-stamp--format "%#A" time))) |
| 530 | ((eq cur-char ?b) ;month name | 532 | ((eq cur-char ?b) ;month name |
| 531 | (if change-case | 533 | (if change-case |
| 532 | (format-time-string "%#b" time) | 534 | (time-stamp--format "%#b" time) |
| 533 | (or alt-form (not (string-equal field-width "")) | 535 | (or alt-form (not (string-equal field-width "")) |
| 534 | (time-stamp-conv-warn "%b" "%:b")) | 536 | (time-stamp-conv-warn "%b" "%:b")) |
| 535 | (if (and alt-form (not (string-equal field-width ""))) | 537 | (if (and alt-form (not (string-equal field-width ""))) |
| 536 | "" ;discourage "%:3b" | 538 | "" ;discourage "%:3b" |
| 537 | (format-time-string "%B" time)))) | 539 | (time-stamp--format "%B" time)))) |
| 538 | ((eq cur-char ?B) | 540 | ((eq cur-char ?B) |
| 539 | (if alt-form | 541 | (if alt-form |
| 540 | (format-time-string "%B" time) | 542 | (time-stamp--format "%B" time) |
| 541 | (or change-case (not (string-equal field-width "")) | 543 | (or change-case (not (string-equal field-width "")) |
| 542 | (time-stamp-conv-warn "%B" "%#B")) | 544 | (time-stamp-conv-warn "%B" "%#B")) |
| 543 | (format-time-string "%#B" time))) | 545 | (time-stamp--format "%#B" time))) |
| 544 | ((eq cur-char ?d) ;day of month, 1-31 | 546 | ((eq cur-char ?d) ;day of month, 1-31 |
| 545 | (time-stamp-do-number cur-char alt-form field-width time)) | 547 | (time-stamp-do-number cur-char alt-form field-width time)) |
| 546 | ((eq cur-char ?H) ;hour, 0-23 | 548 | ((eq cur-char ?H) ;hour, 0-23 |
| @@ -554,27 +556,27 @@ and all `time-stamp-format' compatibility." | |||
| 554 | ((eq cur-char ?p) ;am or pm | 556 | ((eq cur-char ?p) ;am or pm |
| 555 | (or change-case | 557 | (or change-case |
| 556 | (time-stamp-conv-warn "%p" "%#p")) | 558 | (time-stamp-conv-warn "%p" "%#p")) |
| 557 | (format-time-string "%#p" time)) | 559 | (time-stamp--format "%#p" time)) |
| 558 | ((eq cur-char ?P) ;AM or PM | 560 | ((eq cur-char ?P) ;AM or PM |
| 559 | (format-time-string "%p" time)) | 561 | (time-stamp--format "%p" time)) |
| 560 | ((eq cur-char ?S) ;seconds, 00-60 | 562 | ((eq cur-char ?S) ;seconds, 00-60 |
| 561 | (time-stamp-do-number cur-char alt-form field-width time)) | 563 | (time-stamp-do-number cur-char alt-form field-width time)) |
| 562 | ((eq cur-char ?w) ;weekday number, Sunday is 0 | 564 | ((eq cur-char ?w) ;weekday number, Sunday is 0 |
| 563 | (format-time-string "%w" time)) | 565 | (time-stamp--format "%w" time)) |
| 564 | ((eq cur-char ?y) ;year | 566 | ((eq cur-char ?y) ;year |
| 565 | (or alt-form (not (string-equal field-width "")) | 567 | (or alt-form (not (string-equal field-width "")) |
| 566 | (time-stamp-conv-warn "%y" "%:y")) | 568 | (time-stamp-conv-warn "%y" "%:y")) |
| 567 | (string-to-number (format-time-string "%Y" time))) | 569 | (string-to-number (time-stamp--format "%Y" time))) |
| 568 | ((eq cur-char ?Y) ;4-digit year, new style | 570 | ((eq cur-char ?Y) ;4-digit year, new style |
| 569 | (string-to-number (format-time-string "%Y" time))) | 571 | (string-to-number (time-stamp--format "%Y" time))) |
| 570 | ((eq cur-char ?z) ;time zone lower case | 572 | ((eq cur-char ?z) ;time zone lower case |
| 571 | (if change-case | 573 | (if change-case |
| 572 | "" ;discourage %z variations | 574 | "" ;discourage %z variations |
| 573 | (format-time-string "%#Z" time))) | 575 | (time-stamp--format "%#Z" time))) |
| 574 | ((eq cur-char ?Z) | 576 | ((eq cur-char ?Z) |
| 575 | (if change-case | 577 | (if change-case |
| 576 | (format-time-string "%#Z" time) | 578 | (time-stamp--format "%#Z" time) |
| 577 | (format-time-string "%Z" time))) | 579 | (time-stamp--format "%Z" time))) |
| 578 | ((eq cur-char ?f) ;buffer-file-name, base name only | 580 | ((eq cur-char ?f) ;buffer-file-name, base name only |
| 579 | (if buffer-file-name | 581 | (if buffer-file-name |
| 580 | (file-name-nondirectory buffer-file-name) | 582 | (file-name-nondirectory buffer-file-name) |
| @@ -634,7 +636,7 @@ width specification or \"\". TIME is the time to convert." | |||
| 634 | (format "%%:%c" format-char))) | 636 | (format "%%:%c" format-char))) |
| 635 | (if (and alt-form (not (string-equal field-width ""))) | 637 | (if (and alt-form (not (string-equal field-width ""))) |
| 636 | "" ;discourage "%:2d" and the like | 638 | "" ;discourage "%:2d" and the like |
| 637 | (string-to-number (format-time-string format-string time))))) | 639 | (string-to-number (time-stamp--format format-string time))))) |
| 638 | 640 | ||
| 639 | (defvar time-stamp-conversion-warn t | 641 | (defvar time-stamp-conversion-warn t |
| 640 | "Warn about soon-to-be-unsupported forms in `time-stamp-format'. | 642 | "Warn about soon-to-be-unsupported forms in `time-stamp-format'. |
diff --git a/lisp/url/url-tramp.el b/lisp/url/url-tramp.el index 9e191579d47..192a0459f33 100644 --- a/lisp/url/url-tramp.el +++ b/lisp/url/url-tramp.el | |||
| @@ -30,11 +30,11 @@ | |||
| 30 | 30 | ||
| 31 | ;;;###autoload | 31 | ;;;###autoload |
| 32 | (defcustom url-tramp-protocols '("ftp" "ssh" "scp" "rsync" "telnet") | 32 | (defcustom url-tramp-protocols '("ftp" "ssh" "scp" "rsync" "telnet") |
| 33 | "List of URL protocols the work is handled by Tramp. | 33 | "List of URL protocols for which the work is handled by Tramp. |
| 34 | They must also be covered by `url-handler-regexp'." | 34 | They must also be covered by `url-handler-regexp'." |
| 35 | :group 'url | 35 | :group 'url |
| 36 | :version "25.1" | 36 | :version "25.1" |
| 37 | :type '(list string)) | 37 | :type '(repeat string)) |
| 38 | 38 | ||
| 39 | (defun url-tramp-convert-url-to-tramp (url) | 39 | (defun url-tramp-convert-url-to-tramp (url) |
| 40 | "Convert URL to a Tramp file name." | 40 | "Convert URL to a Tramp file name." |