From e4c1e6d33d2ffa0b066baeb716045f85bcb5c6c9 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 14 Sep 2019 15:44:54 +0200 Subject: [PATCH 4/4] Remove old commented out XEmacs compat code from syntax.el * lisp/emacs-lisp/syntax.el: Remove ancient commented out XEmacs compat code. This code has been commented out since 2001. --- lisp/emacs-lisp/syntax.el | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index 6464e2a52d..3861b160cc 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el @@ -638,21 +638,6 @@ syntax-ppss-debug (setq pt (car x))) min-diffs)) -;; XEmacs compatibility functions - -;; (defun buffer-syntactic-context (&optional buffer) -;; "Syntactic context at point in BUFFER. -;; Either of `string', `comment' or nil. -;; This is an XEmacs compatibility function." -;; (with-current-buffer (or buffer (current-buffer)) -;; (syntax-ppss-context (syntax-ppss)))) - -;; (defun buffer-syntactic-context-depth (&optional buffer) -;; "Syntactic parenthesis depth at point in BUFFER. -;; This is an XEmacs compatibility function." -;; (with-current-buffer (or buffer (current-buffer)) -;; (syntax-ppss-depth (syntax-ppss)))) - (provide 'syntax) ;;; syntax.el ends here -- 2.20.1