projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7d6ebf
)
Make two compat aliases obsolete in cc-defs.el
author
Stefan Kangas
<stefankangas@gmail.com>
Fri, 19 Aug 2022 16:14:12 +0000
(18:14 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Fri, 19 Aug 2022 16:14:41 +0000
(18:14 +0200)
* lisp/progmodes/cc-defs.el (c-regexp-opt, c-regexp-opt-depth):
Make compat alias obsolete.
lisp/progmodes/cc-defs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-defs.el
b/lisp/progmodes/cc-defs.el
index 48ae4368a7c46ac7ae89c4a3f496d3bded920953..f867625480c4121dd99a814b588a5b9ed816dd49 100644
(file)
--- a/
lisp/progmodes/cc-defs.el
+++ b/
lisp/progmodes/cc-defs.el
@@
-2071,8
+2071,8
@@
non-nil, a caret is prepended to invert the set."
str))
;; Leftovers from (X)Emacs 19 compatibility.
-(def
alias 'c-regexp-opt 'regexp-opt
)
-(def
alias 'c-regexp-opt-depth 'regexp-opt-depth
)
+(def
ine-obsolete-function-alias 'c-regexp-opt #'regexp-opt "29.1"
)
+(def
ine-obsolete-function-alias 'c-regexp-opt-depth #'regexp-opt-depth "29.1"
)
\f
;; Figure out what features this Emacs has