aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2019-09-14 15:44:54 +0200
committerStefan Kangas2019-10-01 20:25:11 +0200
commit84d7fdbee55e4547df8fc401a6cd068a723c61ae (patch)
tree4a2562638af7fda9945bee5be880642786e39bcc
parent12f6b90c85f510608d9d2b5dbf43a7731bc36e6a (diff)
downloademacs-84d7fdbee55e4547df8fc401a6cd068a723c61ae.tar.gz
emacs-84d7fdbee55e4547df8fc401a6cd068a723c61ae.zip
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.
-rw-r--r--lisp/emacs-lisp/syntax.el15
1 files changed, 0 insertions, 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."
638 (setq pt (car x))) 638 (setq pt (car x)))
639 min-diffs)) 639 min-diffs))
640 640
641;; XEmacs compatibility functions
642
643;; (defun buffer-syntactic-context (&optional buffer)
644;; "Syntactic context at point in BUFFER.
645;; Either of `string', `comment' or nil.
646;; This is an XEmacs compatibility function."
647;; (with-current-buffer (or buffer (current-buffer))
648;; (syntax-ppss-context (syntax-ppss))))
649
650;; (defun buffer-syntactic-context-depth (&optional buffer)
651;; "Syntactic parenthesis depth at point in BUFFER.
652;; This is an XEmacs compatibility function."
653;; (with-current-buffer (or buffer (current-buffer))
654;; (syntax-ppss-depth (syntax-ppss))))
655
656(provide 'syntax) 641(provide 'syntax)
657 642
658;;; syntax.el ends here 643;;; syntax.el ends here