lisp directory into load-path.
File @file{gnus-load.el} contains autoload commands, functions and variables,
-some of which may not be included in distributions of Emacs.
+some of which may not be included in distributions of Emacsen.
@end itemize
@vindex tag-glyph@r{ keyword}
@item :tag-glyph
-Name of image to use instead of the string specified by @code{:tag}.
+Name of image to use instead of the string specified by @code{:tag} on
+Emacsen that supports it.
@vindex help-echo@r{ keyword}
@item :help-echo
@samp{off}.
@vindex on-glyph@r{ keyword}
@item :on-glyph
-Name of a glyph to be used instead of the @samp{:on} text string.
+Name of a glyph to be used instead of the @samp{:on} text string, on
+emacsen that supports this.
@vindex off-glyph@r{ keyword}
@item :off-glyph
-Name of a glyph to be used instead of the @samp{:off} text string.
+Name of a glyph to be used instead of the @samp{:off} text string, on
+emacsen that supports this.
@end table
@node checkbox
;; We found a nested if. Skip it.
(if (fboundp 'c-scan-conditionals)
(goto-char (c-scan-conditionals 1))
- ;; For older versions of Emacs, but this will set the mark.
+ ;; For older Emacsen, but this will set the mark.
(c-forward-conditional 1)))
((looking-at "^\\s-*#\\s-*elif")
;; We need to let the preprocessor analyze this one.
(defun wisent-compile-grammar (grammar &optional start-list)
;; This is kept for compatibility with FOO-wy.el files generated
- ;; with older versions of Emacs.
+ ;; with older Emacsen.
(declare (obsolete wisent-compiled-grammar "Mar 2021"))
(wisent--compile-grammar grammar start-list))
(goto-char (point-max))
(insert "\n;; Global section:\n")
;; Called here because we save the window/frame state as a global
- ;; variable for compatibility with older versions of Emacs.
+ ;; variable for compatibility with previous Emacsen.
(desktop-save-frameset)
(unless (memq 'desktop-saved-frameset desktop-globals-to-save)
(desktop-outvar 'desktop-saved-frameset))
-;;; erc-compat.el --- ERC compatibility code for old Emacs versions -*- lexical-binding: t; -*-
+;;; erc-compat.el --- ERC compatibility code for older Emacsen -*- lexical-binding: t; -*-
-;; Copyright (C) 2002-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2002-2003, 2005-2022 Free Software Foundation, Inc.
;; Author: Alex Schroeder <alex@gnu.org>
;; Maintainer: Amin Bandali <bandali@gnu.org>, F. Jason Park <jp@neverwas.me>
;;; TODO:
;;
;; * Really, we need to lock the logfiles somehow, so that if a user
-;; is running multiple Emacs processes and/or on the same channel as
-;; more than one user, only one process writes to the logfile. This
-;; is especially needed for those logfiles with no nick in them, as
+;; is running multiple emacsen and/or on the same channel as more
+;; than one user, only one process writes to the logfile. This is
+;; especially needed for those logfiles with no nick in them, as
;; these would become corrupted.
-;; For a single Emacs process, the problem could be solved using a
+;; For a single emacs process, the problem could be solved using a
;; variable which contained the names of buffers already being
;; logged. This would require that logging be buffer-local,
;; possibly not a bad thing anyway, since many people don't want to
;; log the server buffer.
-;; For multiple Emacs processes the problem is trickier. On some
-;; systems, on could use the function `lock-buffer' and
-;; `unlock-buffer'. However, file locking isn't implemented on all
-;; platforms, for example, there is none on w32 systems.
+;; For multiple emacsen the problem is trickier. On some systems,
+;; on could use the function `lock-buffer' and `unlock-buffer'.
+;; However, file locking isn't implemented on all platforms, for
+;; example, there is none on w32 systems.
;; A third possibility might be to fake lockfiles. However, this
-;; might lead to problems if one Emacs crashes, as the lockfile
+;; might lead to problems if an emacs crashes, as the lockfile
;; would be left lying around.
;;; Code:
If LITERAL is non-nil, insert NEWTEXT literally. Return a new
string containing the replacements.
-This is a compatibility function."
+This is a compatibility function for different Emacsen."
(declare (obsolete replace-regexp-in-string "26.1"))
(replace-regexp-in-string regexp newtext string nil literal))
;;; Commentary:
-;; This file provides footnote[1] support for message-mode in Emacs.
+;; This file provides footnote[1] support for message-mode in emacsen.
;; footnote-mode is implemented as a minor mode.
;; [1] Footnotes look something like this. Along with some decorative
(put #'tramp-archive-autoload-file-name-regexp 'tramp-autoload t)
-;; In older Emacs (prior 27.1), `tramp-archive-autoload-file-name-regexp'
+;; In older Emacsen (prior 27.1), `tramp-archive-autoload-file-name-regexp'
;; is not autoloaded. So we cannot expect it to be known in
;; tramp-loaddefs.el. But it exists, when tramp-archive.el is loaded.
;;;###tramp-autoload
;; Starting with Emacs 29, `tramp-archive-file-name-handler' is
;; autoloaded. But it must still be in tramp-loaddefs.el for older
-;; versions of Emacs.
+;; Emacsen.
;;;###autoload(autoload 'tramp-archive-file-name-handler "tramp-archive")
;;;###tramp-autoload
(defun tramp-archive-file-name-handler (operation &rest args)
;;
;; Problems:
;; * Modern regexp constructs, like spy groups and counted repetitions, aren't
-;; available in older versions of Emacs.
+;; available in older Emacsen.
;; * The length of constructs (file name, size) might exceed the default.
;; * File names might contain spaces.
;; * Permissions might be empty.
;;; Commentary:
;; An implementation of "uuencode" in Lisp. Uses the function
-;; base64-encode-region which is built-in to modern Emacs.
+;; base64-encode-region which is built-in to modern Emacsen.
;;; Code:
;; `directory-abbrev-apply' and `directory-abbrev-make-regexp' exists
;; since Emacs 29.1. Since this handler isn't called for older
-;; Emacs, it is save to invoke them via `tramp-compat-funcall'.
+;; Emacsen, it is save to invoke them via `tramp-compat-funcall'.
(defun tramp-handle-abbreviate-file-name (filename)
"Like `abbreviate-file-name' for Tramp files."
(let* ((case-fold-search (file-name-case-insensitive-p filename))
Mostly useful to protect BODY from being interrupted by timers."
(declare (indent 1) (debug t))
`(if (tramp-get-connection-property ,proc "locked")
- ;; Be kind for old versions of Emacs.
+ ;; Be kind for older Emacsen.
(if (member 'remote-file-error debug-ignored-errors)
(throw 'non-essential 'non-essential)
(tramp-error
(require 'cl-lib)
(require 'eww)
-;; For Emacs < 25.
+;; For Emacsen < 25.
(defvar eww-current-title)
(defvar eww-current-url)
-;;; org-compat.el --- Compatibility Code for Older Emacs -*- lexical-binding: t; -*-
+;;; org-compat.el --- Compatibility Code for Older Emacsen -*- lexical-binding: t; -*-
;; Copyright (C) 2004-2022 Free Software Foundation, Inc.
"Define NAME as a new error signal.
MESSAGE is a string that will be output to the echo area if such
an error is signaled without being caught by a `condition-case'.
-Implements `define-error' for older versions of Emacs."
+Implements `define-error' for older emacsen."
(if (fboundp 'define-error) (define-error name message)
(put name 'error-conditions
(copy-sequence (cons name (get 'error 'error-conditions))))))
;; Bugs & Warnings:
;;
-;; - It is bad to have two instances of Emacs both running shadowfile
-;; at the same time. It tries to detect this condition, but is not
-;; always successful.
+;; - It is bad to have two Emacsen both running shadowfile at the same
+;; time. It tries to detect this condition, but is not always successful.
;;
;; - You have to be careful not to edit a file in two locations
;; before shadowfile has had a chance to copy it; otherwise
(/= 0 (minibuffer-depth)))
(push (selected-frame) winner-modified-list)))
-;; Used as `post-command-hook'.
+;; A `post-command-hook' for emacsen with
+;; `window-configuration-change-hook'.
(defun winner-save-old-configurations ()
(when (zerop (minibuffer-depth))
(unless (eq this-command winner-last-command)
(winner-insert-if-new (selected-frame))
(winner-remember))
-;; Called by `winner-undo' before "undoing".
+;; A `post-command-hook' for other emacsen.
+;; Also called by `winner-undo' before "undoing".
(defun winner-save-conditionally ()
(when (zerop (minibuffer-depth))
(winner-save-unconditionally)))