]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some references to XEmacs
authorStefan Kangas <stefan@marxist.se>
Wed, 17 Nov 2021 05:25:50 +0000 (06:25 +0100)
committerStefan Kangas <stefan@marxist.se>
Wed, 17 Nov 2021 05:25:50 +0000 (06:25 +0100)
* lisp/emulation/viper-cmd.el (viper-start-R-mode):
* lisp/emulation/viper-init.el (viper-window-display-p):
* lisp/emulation/viper-mous.el (viper-surrounding-word):
* lisp/mail/footnote.el (footnote-mode):
* lisp/textmodes/reftex-index.el: Remove some comments referring to
XEmacs.

lisp/emulation/viper-cmd.el
lisp/emulation/viper-init.el
lisp/emulation/viper-mous.el
lisp/mail/footnote.el
lisp/textmodes/reftex-index.el

index 59be3f484626e0448df8d7a08970ba915db699e3..849ad3d82418984e5b9898e6326d306842e1929e 100644 (file)
@@ -2311,7 +2311,6 @@ problems."
   (viper-downgrade-to-insert))
 
 (defun viper-start-R-mode ()
-  ;; Leave arg as 1, not t: XEmacs insists that it must be a pos number
   (overwrite-mode 1)
   (add-hook
    'viper-post-command-hooks #'viper-R-state-post-command-sentinel t 'local)
index e3790b7453437ba8d13788b8b11883d58e2762ff..368a5dc40a6460e2d357d3a20299ad0622389ac2 100644 (file)
@@ -44,7 +44,6 @@
 
 (define-obsolete-function-alias 'viper-device-type #'window-system "27.1")
 
-;; in XEmacs: device-type is tty on tty and stream in batch.
 (defun viper-window-display-p ()
   (and window-system (not (memq window-system '(tty stream pc)))))
 
index 3d55690bd6f2dd131823d0d4a3326e6e216ca012..879d8edca6f311415930b0b254fe6989330daae1 100644 (file)
@@ -198,8 +198,7 @@ is ignored."
 
         (setq result (buffer-substring word-beg (point))))
        ) ; if
-     ;; XEmacs doesn't have set-text-properties, but there buffer-substring
-     ;; doesn't return properties together with the string, so it's not needed.
+     ;; FIXME: Use `buffer-substring-no-properties' above instead?
      (set-text-properties 0 (length result) nil result)
      result))
 
index 716348a9c19cf806ca7b1617f58049e63f50e07a..ef040ca90b3c58dfe3343f53a21a5dc5e55523a1 100644 (file)
@@ -898,7 +898,7 @@ play around with the following keys:
     (make-local-variable 'footnote-end-tag)
     (make-local-variable 'adaptive-fill-function)
 
-    ;; Filladapt was an XEmacs package which is now in GNU ELPA.
+    ;; Filladapt is a GNU ELPA package.
     (when (boundp 'filladapt-token-table)
       ;; add tokens to filladapt to match footnotes
       ;; 1] xxxxxxxxxxx x x x or [1] x x x x x x x
index 9d9eab4d7b5855617ae5dfd68a598d4449ccf55c..357f7da2f9d106613336b60b7cf98454443e8738 100644 (file)
@@ -29,9 +29,7 @@
 
 (require 'reftex)
 
-;; START remove for XEmacs release
 (defvar TeX-master)
-;; END remove for XEmacs release
 
 ;;;###autoload
 (defun reftex-index-selection-or-word (&optional arg phrase)