summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cwarn.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-06-12 13:47:14 +0800
committerChong Yidong <cyd@gnu.org>2012-06-12 13:47:14 +0800
commitf1a4e679f3b0696089b4fd73717307ba5d23e1cf (patch)
treedc44016b20723e38247300b6c6eaec3cd4e98761 /lisp/progmodes/cwarn.el
parentbf67e61f291a82a9e90a7918f5188714853f0094 (diff)
downloademacs-f1a4e679f3b0696089b4fd73717307ba5d23e1cf.tar.gz
Various minor variable/hook cleanups.
* lisp/emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings): Rename from gud-inhibit-global-bindings. * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix. * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-functions): Rename from erc-dcc-chat-filter-hook, since this is an abnormal hook. * lisp/nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal hook from nxml-glyph-set-hook. * lisp/progmodes/cwarn.el (cwarn-mode): Remove redundant variable declaration. * lisp/progmodes/pascal.el (pascal-toggle-completions): Doc fix. * lisp/textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path): Convert to defcustom. * lisp/url/url-handlers.el (url-handler-regexp): * lisp/url/url-nfs.el (url-nfs-automounter-directory-spec): * lisp/url/url-vars.el (url-load-hook): Convert to defcustom.
Diffstat (limited to 'lisp/progmodes/cwarn.el')
-rw-r--r--lisp/progmodes/cwarn.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index 3e99f3c9176..09c7e908806 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -119,12 +119,6 @@
:version "21.1"
:group 'faces)
-(defvar cwarn-mode nil
- "Non-nil when Cwarn mode is active.
-
-Never set this variable directly, use the command `cwarn-mode'
-instead.")
-
(defcustom cwarn-configuration
'((c-mode (not reference))
(c++-mode t))