From 2a364d84c18527c344dec6f5bd577861df3f1679 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 10 Jun 2019 03:42:27 +0200 Subject: [PATCH] Remove another variable obsolete since Emacs 22 * lisp/progmodes/cc-langs.el: Remove obsolete variable c-opt-op-identitier-prefix. * etc/NEWS: Announce it. (Bug#36173) --- etc/NEWS | 8 ++++---- lisp/progmodes/cc-langs.el | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index e3023216ac1..723f0a0fb05 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1622,10 +1622,10 @@ fixnum for such arguments. ** Some functions and variables obsolete since Emacs 22 have been removed: archive-mouse-extract, assoc-ignore-case, assoc-ignore-representation, backward-text-line, blink-cursor, bookmark-exit-hooks, -comint-use-prompt-regexp-instead-of-fields, compilation-finish-function, -count-text-lines, cperl-vc-header-alist, custom-face-save-command, -cvs-display-full-path, cvs-fileinfo->full-path, delete-frame-hook, -derived-mode-class, describe-char-after, describe-project, +c-opt-op-identitier-prefix, comint-use-prompt-regexp-instead-of-fields, +compilation-finish-function, count-text-lines, cperl-vc-header-alist, +custom-face-save-command, cvs-display-full-path, cvs-fileinfo->full-path, +delete-frame-hook, derived-mode-class, describe-char-after, describe-project, desktop-basefilename, desktop-buffer-handlers, desktop-buffer-misc-functions, desktop-buffer-modes-to-save, desktop-enable, desktop-load-default, dired-omit-files-p, disabled-command-hook, dungeon-mode-map, diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index be921ad42ab..2fcd6acf51f 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -1240,13 +1240,6 @@ This regexp is assumed to not match any non-operator identifier." (c-lang-defvar c-opt-op-identifier-prefix (c-lang-const c-opt-op-identifier-prefix)) -;; Note: the following alias is an old name which was a mis-spelling. It has -;; been corrected above and throughout cc-engine.el. It will be removed at -;; some release very shortly in the future. ACM, 2006-04-14. -(defvaralias 'c-opt-op-identitier-prefix 'c-opt-op-identifier-prefix) -(make-obsolete-variable 'c-opt-op-identitier-prefix 'c-opt-op-identifier-prefix - "CC Mode 5.31.4, 2006-04-14") - (c-lang-defconst c-ambiguous-overloadable-or-identifier-prefixes ;; A list of strings which can be either overloadable operators or ;; identifier prefixes. -- 2.39.5