From 84d7fdbee55e4547df8fc401a6cd068a723c61ae Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 14 Sep 2019 15:44:54 +0200 Subject: [PATCH] Remove old commented out XEmacs compat code from syntax.el (Bug#37524) * 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 6464e2a52db..3861b160cc9 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el @@ -638,21 +638,6 @@ running the hook." (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.39.2