From: Stefan Kangas Date: Sat, 14 Sep 2019 13:44:54 +0000 (+0200) Subject: Remove old commented out XEmacs compat code from syntax.el (Bug#37524) X-Git-Tag: emacs-27.0.90~1331 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84d7fdbee55e4547df8fc401a6cd068a723c61ae;p=emacs.git 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. --- 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