unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Obsolete code in sregex.el
@ 2005-06-06 12:01 Kim F. Storm
  2005-06-06 13:04 ` Stefan Monnier
  2005-06-06 16:37 ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Kim F. Storm @ 2005-06-06 12:01 UTC (permalink / raw)
  Cc: emacs-devel


I noticed the following declarations in sregex.el.  But I don't see
any references to them, so maybe they can be deleted?


;; Compatibility code for when we didn't have shy-groups
(defvar sregex--current-sregex nil)
(defun sregex-info () nil)
(defmacro sregex-save-match-data (&rest forms) (cons 'save-match-data forms))
(defun sregex-replace-match (r &optional f l str subexp x)
  (replace-match r f l str subexp))
(defun sregex-match-string (c &optional i x) (match-string c i))
(defun sregex-match-string-no-properties (count &optional in-string sregex)
  (match-string-no-properties count in-string))
(defun sregex-match-beginning (count &optional sregex) (match-beginning count))
(defun sregex-match-end (count &optional sregex) (match-end count))
(defun sregex-match-data (&optional sregex) (match-data))
(defun sregex-backref-num (n &optional sregex) n)


-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-06-08 12:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-06 12:01 Obsolete code in sregex.el Kim F. Storm
2005-06-06 13:04 ` Stefan Monnier
2005-06-06 17:28   ` Bob Glickstein
2005-06-06 16:37 ` Richard Stallman
2005-06-06 22:33   ` Kim F. Storm
2005-06-08 12:01     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).