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

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

bug#3217: 23.0.92; apropos profile


From: Andreas Roehler
Subject: bug#3217: 23.0.92; apropos profile
Date: Tue, 05 May 2009 08:28:43 +0200
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Hi Barry,

M-x apropos RET profile

didn't show `elp-instrument-function' and related tools.

Thats probably, because non of them has the name "profile" in it.
Suggest an alias as delivered with patch.

Thanks

Andreas Röhler



In GNU Emacs 23.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2009-04-29 on noname
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x a p r o p o s <return> p r o f i l e <return> M-x
r e p o r t - e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
No apropos matches for `profile'
diff -u -b -L /usr/local/share/emacs/23.0.92/lisp/emacs-lisp/elp.el.gz -L 
MY-PATH/elp.el 
--- /usr/local/share/emacs/23.0.92/lisp/emacs-lisp/elp.el.gz
+++ MY-PATH/elp.el
@@ -228,6 +228,7 @@
                   (error nil))))))
 
 
+(defalias 'elp-profile-function 'elp-instrument-function)
 ;;;###autoload
 (defun elp-instrument-function (funsym)
   "Instrument FUNSYM for profiling.

Diff finished.  Tue May  5 08:14:39 2009

reply via email to

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