emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el
Date: Mon, 01 Nov 2004 02:49:55 -0500

Index: emacs/lisp/progmodes/cperl-mode.el
diff -c emacs/lisp/progmodes/cperl-mode.el:1.52 
emacs/lisp/progmodes/cperl-mode.el:1.53
*** emacs/lisp/progmodes/cperl-mode.el:1.52     Fri Jul  9 15:01:42 2004
--- emacs/lisp/progmodes/cperl-mode.el  Mon Nov  1 07:42:19 2004
***************
*** 6664,6674 ****
  =pod          Switch from Perl to POD.
  ")
  
! (defun cperl-switch-to-doc-buffer ()
    "Go to the perl documentation buffer and insert the documentation."
!   (interactive)
    (let ((buf (get-buffer-create cperl-doc-buffer)))
!     (if (interactive-p)
        (switch-to-buffer-other-window buf)
        (set-buffer buf))
      (if (= (buffer-size) 0)
--- 6664,6674 ----
  =pod          Switch from Perl to POD.
  ")
  
! (defun cperl-switch-to-doc-buffer (&optional interactive)
    "Go to the perl documentation buffer and insert the documentation."
!   (interactive "p")
    (let ((buf (get-buffer-create cperl-doc-buffer)))
!     (if interactive
        (switch-to-buffer-other-window buf)
        (set-buffer buf))
      (if (= (buffer-size) 0)




reply via email to

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