summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-cmds.el
diff options
context:
space:
mode:
authorTassilo Horn <tassilo@member.fsf.org>2009-11-20 14:28:54 +0000
committerTassilo Horn <tassilo@member.fsf.org>2009-11-20 14:28:54 +0000
commit9c882b1679a71948b6c62974e5c15ed1bf730f9d (patch)
tree5460068ff64649c1970920a674a0dff4e9be3fd5 /lisp/progmodes/cc-cmds.el
parent21c427cc945d4e556151f3c1747b376c64c7da1c (diff)
downloademacs-9c882b1679a71948b6c62974e5c15ed1bf730f9d.tar.gz
* progmodes/cc-cmds.el: declare-functioned forward-subword and
backward-subword to quit the byte-compiler.
Diffstat (limited to 'lisp/progmodes/cc-cmds.el')
-rw-r--r--lisp/progmodes/cc-cmds.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index e356089d4ad..d5393c4bdb7 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -1322,6 +1322,10 @@ keyword on the line, the keyword is not inserted inside a literal, and
(delete-char -2)))))
+
+(declare-function forward-subword "subword" (&optional arg))
+(declare-function backward-subword "subword" (&optional arg))
+
;; "nomenclature" functions + c-scope-operator.
(defun c-forward-into-nomenclature (&optional arg)
"Compatibility alias for `c-forward-subword'."