emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrong link destination for apropos-command


From: martin rudalics
Subject: Re: Wrong link destination for apropos-command
Date: Sun, 01 Oct 2006 14:54:55 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

In some sense that's much too complicated, what about:

(defcustom find-function-regexp
  ;; Match things like (defun foo ...), (defmacro foo ...), ...
  (concat
   "^\\s-*(\\(def\\(i[^n]\\|ine-[^b]\\|[^cfgiv]\\)\\(\\w\\|\\s_\\)+\\*?\\|\
easy-mmode-define-[a-z-]+\\|easy-menu-define\\|menu-bar-make-toggle\\)"
   find-function-space-re
   "\\('\\|\(quote \\)?%s\\(\\s-\\|$\\|\(\\|\)\\)")
  "The regexp used by `find-function' to search for a function definition.
Note it must contain a `%s' at the place where `format'
should insert the function name.  The default value avoids `defconst',
`defgroup', `defvar', `defface', and `define-button-type'.

Please send improvements and fixes to the maintainer."
  :type 'regexp
  :group 'find-function
  :version "21.1")





reply via email to

[Prev in Thread] Current Thread [Next in Thread]