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 [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el [lexbind]
Date: Thu, 04 Nov 2004 08:31:25 -0500

Index: emacs/lisp/progmodes/cperl-mode.el
diff -c emacs/lisp/progmodes/cperl-mode.el:1.33.2.7 
emacs/lisp/progmodes/cperl-mode.el:1.33.2.8
*** emacs/lisp/progmodes/cperl-mode.el:1.33.2.7 Sat Jul 17 02:49:47 2004
--- emacs/lisp/progmodes/cperl-mode.el  Thu Nov  4 13:12:42 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]