summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2014-10-05 08:58:38 +0800
committerLeo Liu <sdl.web@gmail.com>2014-10-05 08:58:38 +0800
commitc938c07bf3505a6d418678a04ff24f25d9039160 (patch)
tree802fe691758497b6e4c65ab12915c02c6f412fec
parent12c9762ee62aa53bccf778856018f91dc5ee5836 (diff)
downloademacs-c938c07bf3505a6d418678a04ff24f25d9039160.tar.gz
* imenu.el (imenu-default-goto-function): Fix typo.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/imenu.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5eb29577c9a..d5eda032f74 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-05 Leo Liu <sdl.web@gmail.com>
+
+ * imenu.el (imenu-default-goto-function): Fix typo.
+
2014-10-04 Glenn Morris <rgm@gnu.org>
* frame.el (frame-monitor-attributes)
diff --git a/lisp/imenu.el b/lisp/imenu.el
index e5f33a5efb9..3159b6cc563 100644
--- a/lisp/imenu.el
+++ b/lisp/imenu.el
@@ -1012,7 +1012,7 @@ to `imenu-update-menubar'.")
(imenu item)
nil))
-(defun imenu-default-goto-function (_name position &optional _rest)
+(defun imenu-default-goto-function (_name position &rest _rest)
"Move to the given position.
NAME is ignored. POSITION is where to move. REST is also ignored.