diff options
| author | Alan Mackenzie | 2007-04-08 11:18:55 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2007-04-08 11:18:55 +0000 |
| commit | de5c0bc1bc15715ec50abfe562912ca7a2c00b75 (patch) | |
| tree | dcdbd50d9ad038f3927f3fd2094008bdf04d5887 | |
| parent | 8300c023f1a1df94c8255f45b15b16bf9cfd5b99 (diff) | |
| download | emacs-de5c0bc1bc15715ec50abfe562912ca7a2c00b75.tar.gz emacs-de5c0bc1bc15715ec50abfe562912ca7a2c00b75.zip | |
(c-end-of-defun): Tidy up, to eliminate byte-compiler warning "value
unused".
| -rw-r--r-- | lisp/progmodes/cc-cmds.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index debdfe44cb4..7b28851b3bb 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el | |||
| @@ -1630,10 +1630,8 @@ the open-parenthesis that starts a defun; see `beginning-of-defun'." | |||
| 1630 | (setq arg (1+ arg))) | 1630 | (setq arg (1+ arg))) |
| 1631 | (if (< arg 0) | 1631 | (if (< arg 0) |
| 1632 | (setq arg (c-backward-to-nth-BOF-{ (- arg) where))) | 1632 | (setq arg (c-backward-to-nth-BOF-{ (- arg) where))) |
| 1633 | (when (and (= arg 0) | 1633 | (if (= arg 0) |
| 1634 | (c-syntactic-skip-backward "^}") | 1634 | (c-syntactic-skip-backward "^}"))) |
| 1635 | (eq (char-before) ?\})) | ||
| 1636 | t)) | ||
| 1637 | 1635 | ||
| 1638 | ;; Move forward to the } of a function | 1636 | ;; Move forward to the } of a function |
| 1639 | (if (> arg 0) | 1637 | (if (> arg 0) |