Browse files

Fix my-count-words.

  • Loading branch information...
1 parent aea879c commit 098c16f2648f8f67b4b62d234ef572dfcaea84bb @nex3 committed Jun 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 emacs.el
View
3 emacs.el
@@ -616,7 +616,8 @@ These are in the format (FILENAME)NODENAME."
(with-temp-buffer
(insert contents-no-footnotes)
(beginning-of-buffer)
- (replace-regexp "\\[[^\]]+\\]" "")
+ (replace-regexp "\\[[0-9]+\\]" "")
+ (replace-regexp "\\]([^)]+)" "")
(count-words))))))
;; ----------

0 comments on commit 098c16f

Please sign in to comment.